Ask your WordPress questions! Pay money and get answers fast! (more info)

Video lightbox

  • SOLVED

Hey I got a site that has a lightbox feature built in it. However when it lightboxes the video's doesn't load. The videos are being pulled in via a youtube plugin My Video Poster2 and it can place the embed code in any custom field.

here is the link:
http://lutherbrownonline.com

user: wpquestions
password: wpquestions



Answers (2)

2011-04-25

David Navarrete answers:

the error if this the url for pretty photo dont work

you can edit your html

and try wih this

<a href="http://www.youtube.com/swf/l.swf" rel="prettyPhoto;width=425;height=344;flashvars=video_id=UX5G5zQFQ8Y&amp;color1=0xffffff&amp;color2=0xffffff&amp;autoplay=1" title="Resumen del festival de cine clásico de Granada Retroback '10" class="a-trailer">
<img src="iimage.jpg" alt="" class="trailer"></a>


if you have the code i will write a code for you.

bye


David Navarrete comments:

sorry, i edit you code, and now works


bye


kayode brown comments:

Thanks for the partial fix, however when you click on the thumbs on the videos page they don't lightbox.

Also on the homepage it doesn't always work.


David Navarrete comments:

ready on videos

maybe is problem of youtube?


David Navarrete comments:

the only video that not work is [[LINK href="http://lutherbrownonline.com/715-paper-mate-gel-fresh/"]]this[[/LINK]]

the problem was a custom field.


now all videos works


bye


kayode brown comments:

Thank you!

but now it says "an error occurred please try again later"


David Navarrete comments:

where index o videos?


David Navarrete comments:

the problem in videos was fixed.


kayode brown comments:

Perfect.
I will send the payment right away.

Are you based in toronto? please send me you email for future jobs.

2011-04-25

Jarret Minkler answers:

Your getting errors in JS

itemSrc is undefined

function getFileType(itemSrc){ is not getting the itemSrc - its undefined in the prettyPhoto Plugin


kayode brown comments:

okay cool.

How do I fix that?


kayode brown comments:

I don't have the pretty photo plugin installed.


Jarret Minkler comments:

Its getting included from something then .. one of the WP plugins.


Jarret Minkler comments:

Its a jQuery Plugin, not a WP plugin.