hey guys,

need some help with the following. how do i successfully extract just the video 
id from a typical youtube embed script? eg.

<object width="550" height="331"><param name="movie" 
value="http://www.youtube.com/v/iNCsMTYkw1M&hl=en&fs=1&";></param><param 
name="allowFullScreen" value="true"></param><param name="allowscriptaccess" 
value="always"></param><embed 
src="http://www.youtube.com/v/iNCsMTYkw1M&hl=en&fs=1&"; 
type="application/x-shockwave-flash" allowscriptaccess="always" 
allowfullscreen="true" width="550" height="331"></embed></object>

would return 'iNCsMTYkw1M'

any help would be greatly appreciated.
mike 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324706
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to