Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2011-09-22 20:03:51

pafruu
Member
From: New Brunswick, Canada
Registered: 2010-01-14
Posts: 65

You tube videos and Lightbox, do they mesh?

Hey everyone, I have a question. I’m building a new site for a customer and what i want to achieve is this:

I have an image, (which would be a frame of the video from you tube), user clicks on the image then lightbox kicks in and plays the video.

I tried working it with <txp:arc_youtube /> no success, I tried hard coding it like this:

<a href=“http://www.youtube.com/embed/OW-k0hWAR-M?rel=0” rel=“lightbox”><img src=”<txp:site_url />img/screenCapt_13.gif” width=“301” height=“168” alt=”“ /></a>

lightbox kicks in but it stays in a loading loop, the video does not play.

Any suggestions?

Thanks


I try, and I try, and I try…. and sometimes I achieve

Offline

#2 2011-09-22 20:36:53

TNT
Member
From: Rotterdam, Netherlands
Registered: 2006-01-06
Posts: 256
Website

Re: You tube videos and Lightbox, do they mesh?

Reading the documentation on Lightbox, it’s not possible to play videos with it (photos only). Try it with a Lightbox alternative which is capable of displaying videos. I’d suggest Fancybox or Shadowbox.


Prrrrrrrr

Offline

#3 2011-09-23 12:29:28

pafruu
Member
From: New Brunswick, Canada
Registered: 2010-01-14
Posts: 65

Re: You tube videos and Lightbox, do they mesh?

That did it Thanks very much TNT


I try, and I try, and I try…. and sometimes I achieve

Offline

Board footer

Powered by FluxBB