Re: Embedded YouTube movies

2008-04-22 Thread Torrent Girl
>You have too much stuff in there. Lose the "&hl=en&rel=0"
>
Actually replacing the double quotes with single quotes (as someone suggested) 
enabled my to use the link as a variable.

Thanks 

~|
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:304003
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Embedded YouTube movies

2008-04-21 Thread Bobby Hartsfield










   





#embedYouToobVideo('http://www.youtube.com/watch?v=0ONJfp95yoE')#
#embedYouToobVideo('http://www.youtube.com/watch/v/0ONJfp95yoE')#
#embedYouToobVideo('http://www.youtube.com/watch?v=0ONJfp95yoE&feature=relat
ed&hl=en')#


..:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
http://cf4em.com



~|
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:303933
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Embedded YouTube movies

2008-04-21 Thread Jim Wright
On Mon, Apr 21, 2008 at 2:34 PM, Torrent Girl <[EMAIL PROTECTED]> wrote:
>
>  Is that all of your code? If not would you mind posting it all.
>

The code that I am using is very similar to the code you postedit
just makes sure to use the correct URL.

~|
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:303924
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Embedded YouTube movies

2008-04-21 Thread Mik Muller
You have too much stuff in there. Lose the "&hl=en&rel=0"


http://www.youtube.com/v/fmACYY3_LXo"; 


Mik


At 03:02 PM 4/21/2008, Torrent Girl wrote:
>> 
>> You can't just put the browser URL in... the Flash Movie needs a 
>> slightly different URL, thus the string manipulation shown above.
>> 
>> Mik
>> 
>> I am using the code provided by youtube:
>
>value="http://www.youtube.com/v/61_UIFQHLv8&hl=en&rel=0";>name="wmode" value="transparent">src="http://www.youtube.com/v/61_UIFQHLv8&hl=en&rel=0"; 
>type="application/x-shockwave-flash" wmode="transparent" width="425" 
>height="355">
>
>
>

~|
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:303921
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Embedded YouTube movies

2008-04-21 Thread Crow T. Robot
Please do my work for me...again.

On Mon, Apr 21, 2008 at 2:10 PM, Steve Brownlee <[EMAIL PROTECTED]>
wrote:

> Plz send me teh codez
>
> -Original Message-
> From: Torrent Girl [mailto:[EMAIL PROTECTED]
> Sent: Monday, April 21, 2008 1:35 PM
> To: CF-Talk
> Subject: Re: Embedded YouTube movies
>
> > On Mon, Apr 21, 2008 at 10:35 AM, Torrent Girl <[EMAIL PROTECTED]>
> > 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.
> >
> > The links for embedding a youtube video and viewing the page for that
> > video are different.  If your users are putting in the URL that links
> > to the main video page, it will not work...you will need to parse out
> > the unique id for that video, and then use the correct URL...
> > The main video link looks something like...
> > http://www.youtube.com/watch?v=eBGIQ7ZuuiU&;
> >
> > The embedding video link looks something like...
> > http://www.youtube.
> com/v/eBGIQ7ZuuiU&
>
> Is that all of your code? If not would you mind posting it all.
>
>
>
> 

~|
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:303919
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Embedded YouTube movies

2008-04-21 Thread Steve Brownlee
Plz send me teh codez 

-Original Message-
From: Torrent Girl [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 21, 2008 1:35 PM
To: CF-Talk
Subject: Re: Embedded YouTube movies

> On Mon, Apr 21, 2008 at 10:35 AM, Torrent Girl <[EMAIL PROTECTED]>
> 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.
> 
> The links for embedding a youtube video and viewing the page for that 
> video are different.  If your users are putting in the URL that links 
> to the main video page, it will not work...you will need to parse out 
> the unique id for that video, and then use the correct URL...
> The main video link looks something like...
> http://www.youtube.com/watch?v=eBGIQ7ZuuiU&;
> 
> The embedding video link looks something like...
> http://www.youtube.
com/v/eBGIQ7ZuuiU&

Is that all of your code? If not would you mind posting it all. 



~|
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:303918
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Embedded YouTube movies

2008-04-21 Thread Torrent Girl
> 
> You can't just put the browser URL in... the Flash Movie needs a 
> slightly different URL, thus the string manipulation shown above.
> 
> Mik
> 
> I am using the code provided by youtube:

http://www.youtube.com/v/61_UIFQHLv8&hl=en&rel=0";>http://www.youtube.com/v/61_UIFQHLv8&hl=en&rel=0"; 
type="application/x-shockwave-flash" wmode="transparent" width="425" 
height="355">


~|
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:303917
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Embedded YouTube movies

2008-04-21 Thread Mike Francisco
Ooops, my bad... I did not read the original problem correctly.

> -Original Message-
> From: Bobby Hartsfield [mailto:[EMAIL PROTECTED]
> Sent: Monday, April 21, 2008 11:34 AM
> To: CF-Talk
> Subject: RE: Embedded YouTube movies
> 
> Just curious but why?
> 
> 


~|
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:303914
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Embedded YouTube movies

2008-04-21 Thread Torrent Girl
> On Mon, Apr 21, 2008 at 10:35 AM, Torrent Girl <[EMAIL PROTECTED]> 
> 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.
> 
> The links for embedding a youtube video and viewing the page for that
> video are different.  If your users are putting in the URL that links
> to the main video page, it will not work...you will need to parse out
> the unique id for that video, and then use the correct URL...
> The main video link looks something like...
> http://www.youtube.com/watch?v=eBGIQ7ZuuiU&;
> 
> The embedding video link looks something like...
> http://www.youtube.
com/v/eBGIQ7ZuuiU&

Is that all of your code? If not would you mind posting it all. 

~|
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:303910
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Embedded YouTube movies

2008-04-21 Thread Bobby Hartsfield
Just curious but why?

..:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
http://cf4em.com


-Original Message-
From: Mike Francisco [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 21, 2008 2:25 PM
To: CF-Talk
Subject: RE: Embedded YouTube movies

Also, don't forget to escape/replace the tag parameter double quotes with
single quotes.

Example: http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:303909
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Embedded YouTube movies

2008-04-21 Thread Mike Francisco
Also, don't forget to escape/replace the tag parameter double quotes with
single quotes.

Example: http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:303907
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Embedded YouTube movies

2008-04-21 Thread Bobby Hartsfield
http://www.youtube.com/watch?v=Dzr32OqGlOA

would convert to

http://www.youtube.com/v/Dzr32OqGlOA for embedding the video

just try doing this to your URLs to get them ready for the embed portion

#rereplace(theurl, '\?|=', '/', 'all')#


..:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
http://cf4em.com

-Original Message-
From: Torrent Girl [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 21, 2008 11:59 AM
To: CF-Talk
Subject: Re: Embedded YouTube movies

>What is the url?
>
>On Mon, Apr 21, 2008 at 11:12 AM, Torrent Girl <[EMAIL PROTECTED]>
>wrote:
>
>>

I am testing random youTube videos so i don't have a specific one yet

try this one http://www.youtube.com/watch?v=Dzr32OqGlOA 



~|
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:303884
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Embedded YouTube movies

2008-04-21 Thread Torrent Girl
>What is the url?
>
>On Mon, Apr 21, 2008 at 11:12 AM, Torrent Girl <[EMAIL PROTECTED]>
>wrote:
>
>>

I am testing random youTube videos so i don't have a specific one yet

try this one http://www.youtube.com/watch?v=Dzr32OqGlOA 

~|
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:303880
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Embedded YouTube movies

2008-04-21 Thread Mik Muller
I find this works for me.  I've actually embedded it into the ActivateURL() by 
Joel Mueller, updated by Lucas Sherwood.

/* thisURL = {youtube url}  */


http://www.youtube.com/v/' & 
listFirst(listrest(thisURL,"="),"&") & '">

http://www.youtube.com/v/' & listFirst(listrest(thisURL,"="),"&") & 
'" type="application/x-shockwave-flash" wmode="transparent" width="425" 
height="350">


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.
>
>
>
>
>
>width="425" height="355">
>
>
>
>

~|
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


Re: Embedded YouTube movies

2008-04-21 Thread Jerry Johnson
What is the url?

On Mon, Apr 21, 2008 at 11:12 AM, Torrent Girl <[EMAIL PROTECTED]>
wrote:

> >And still the crowd yells for more.
> >
> >What exactly is the value for video?
> >Can you go to that link in your browser (and it comes up?)
> >
> >
> >On Mon, Apr 21, 2008 at 10:54 AM, Torrent Girl <[EMAIL PROTECTED]>
> >wrote:
> >
> >>
>
> Yes the movie comes up in the browser when i go directly to it.
>
>
>
> 

~|
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:303874
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Embedded YouTube movies

2008-04-21 Thread Torrent Girl
>And still the crowd yells for more.
>
>What exactly is the value for video?
>Can you go to that link in your browser (and it comes up?)
>
>
>On Mon, Apr 21, 2008 at 10:54 AM, Torrent Girl <[EMAIL PROTECTED]>
>wrote:
>
>>

Yes the movie comes up in the browser when i go directly to it.



~|
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:303873
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Embedded YouTube movies

2008-04-21 Thread Jim Wright
On Mon, Apr 21, 2008 at 10:35 AM, Torrent Girl <[EMAIL PROTECTED]> 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.

The links for embedding a youtube video and viewing the page for that
video are different.  If your users are putting in the URL that links
to the main video page, it will not work...you will need to parse out
the unique id for that video, and then use the correct URL...
The main video link looks something like...
http://www.youtube.com/watch?v=eBGIQ7ZuuiU&;

The embedding video link looks something like...
http://www.youtube.com/v/eBGIQ7ZuuiU&;

~|
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:303872
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Embedded YouTube movies

2008-04-21 Thread Jerry Johnson
And still the crowd yells for more.

What exactly is the value for video?
Can you go to that link in your browser (and it comes up?)


On Mon, Apr 21, 2008 at 10:54 AM, Torrent Girl <[EMAIL PROTECTED]>
wrote:

> Sorry.
>
> The movie looks as if it is loading but never comes up.
>
>
> >>"It's not working"
> >
> >I think we've been down this road before, but how exactly is it *not*
> >working?  Error messages?  What *does* happen?
> >
> >Help us help you...
> >
> >On Mon, Apr 21, 2008 at 9:35 AM, Torrent Girl <[EMAIL PROTECTED]>
> wrote:
> >
> >>
>
> 

~|
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:303870
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Embedded YouTube movies

2008-04-21 Thread Torrent Girl
Sorry.

The movie looks as if it is loading but never comes up.


>>"It's not working"
>
>I think we've been down this road before, but how exactly is it *not*
>working?  Error messages?  What *does* happen?
>
>Help us help you...
>
>On Mon, Apr 21, 2008 at 9:35 AM, Torrent Girl <[EMAIL PROTECTED]> wrote:
>
>> 

~|
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:303868
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Embedded YouTube movies

2008-04-21 Thread Crow T. Robot
>"It's not working"

I think we've been down this road before, but how exactly is it *not*
working?  Error messages?  What *does* happen?

Help us help you...

On Mon, Apr 21, 2008 at 9:35 AM, Torrent Girl <[EMAIL PROTECTED]> 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.
>
>
> 
> 
> 
>  wmode="transparent" width="425" height="355">
> 
>
>
> 

~|
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:303865
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Embedded YouTube movies

2008-04-21 Thread Torrent Girl
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.









~|
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:303863
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4