Youtube - multiple videos from 1 window

What I’d like to do,

Have a page with a YouTube window with multiple titles below it. When you click on a title that video plays. If you click on another title then the current video stops and is replaced by another one which starts playing.

I thought of creating YouTube action boxes then using the show/hide layer action to bring them to the front, but I figure that the page would be slow as it links to multiple YouTube videos and I assume that videos would not stop playing as they’re hidden.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I got this working using scripty lightbox by creating a page with just the YouTube action, with the page the size of the action, for each video and linking to that page in the lightbox action. Then a lightbox pops up with the player in it.

A permanent viewer window would be preferable though.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Here is the page now

It uses lightbox. What I’d really like is when someone clicks on a video title the video plays in the dummy window above the titles, not in a pop up window.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

The easiest way to do this is with an iframe. Set the Target attribute of your links to match the name of the iframe and the links will magically go into the iframe.

Walter

On Dec 2, 2013, at 8:15 PM, Craig Lee wrote:

Here is the page now

My Music

It uses lightbox. What I’d really like is when someone clicks on a video title the video plays in the dummy window above the titles, not in a pop up window.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks waltd

I have it working now,

but I have a question. I’ve created pages with the youtube action (which is an iFrame), one for each video. Then I’ve targeted my pages iframe with links to those. So I’m playing an iframe inside an iframe. Seems like that would be bad form.

Is there a way in Freeway (using FW5 Pro) to target the page iframe with the youtube link directly?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Craig, I just wanted to say how much I like your website. I’m afraid I don’t have anything helpful to offer, but I did enjoy my visit.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

If you look at the code that YouTube gives you in their “share” tool, you will see that it is a complete iframe code. If you strip out everything except the content of the src="url/of/the/video" part of that code, you will have a URL that expects to be played inside an iframe. It doesn’t matter what made that iframe, therefore – you can ignore the rest of the code, and just put the url/of/the/video part into your URL that you target into your iframe.

Walter

On Dec 2, 2013, at 10:56 PM, Craig Lee wrote:

Thanks waltd

I have it working now,

My Music

but I have a question. I’ve created pages with the youtube action (which is an iFrame), one for each video. Then I’ve targeted my pages iframe with links to those. So I’m playing an iframe inside an iframe. Seems like that would be bad form.

Is there a way in Freeway (using FW5 Pro) to target the page iframe with the youtube link directly?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Walter,
Of course, that makes sense. I think the little light just switched on… Put the iframe code in the target action, don’t load a whole other page.

Thanks, I’ll try that tonight. Your time and expertise is always appreciated.

Thanks David.
I’m finally porting over my site from Apple iWeb, definitely worth the effort. FW is so much nicer!


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options