I find this works for me. I've actually embedded it into the ActivateURL() by
Joel Mueller, updated by Lucas Sherwood.
/* thisURL = {youtube url} */
<object width="425" height="350">
<param name="movie" value="http://www.youtube.com/v/' &
listFirst(listrest(thisURL,"="),"&") & '"></param>
<param name="wmode" value="transparent"></param>
<embed src="http://www.youtube.com/v/' & listFirst(listrest(thisURL,"="),"&") &
'" type="application/x-shockwave-flash" wmode="transparent" width="425"
height="350"></embed>
</object>
You can't just put the browser URL in... the Flash Movie needs a slightly
different URL, thus the string manipulation shown above.
Mik
At 10:35 AM 4/21/2008, Torrent Girl wrote:
>Hi All.
>
>I would like to allow site visitors to post a link to their youtube video to a
>database and then I output the link as a variable.
>
>It is not working.
>
>Has any successfully done this before? See my code below.
>
>
><object width="425" height="355">
><param name="movie" value="#video#"></param>
><param name="wmode" value="transparent"></param>
><embed src="#video#" type="application/x-shockwave-flash" wmode="transparent"
>width="425" height="355"></embed>
></object>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:303876
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4