In Drupal 7, when making a link like <a href="http://www.youtube.com/watch?v=xdybTVRd-MM" rel="lightvideo">Video</a> and clicking on that link, the lightbox appears very briefly, but doesn't load the video in the lightbox. Instead, my web browser simply redirects to that video's url. I have tried this on 3 separate Drupal 7 instances with the same results. I tried compatible, non-YouTube urls which didn't work either. Loading a content via rel="lightframe" works just fine. I have confirmed that my Lightbox2 settings have video enabled and that I have a valid path to a flash video player. I also tried using a different flash video player. The same results seem to happen with any browser; I tested with Firefox/Mac, Safari/Mac, Chrome/Mac, IE/XP & Firefox/XP. Drupal 6 versions works splendidly with video.
Apologies, I do not have a url to point you to as 2 of the D7 sites are here behind our university's firewalls, the other being on my iMac at home. Maybe I'll put an example on some public web space, if I have time.
Let me know if you need any other info. :)
Comments
Comment #1
spomerg commentedHere is a fresh install of D7 & Lightbox2 module with test link:
http://www.callmegavin.com/
Lightbox2 settings are default except for video enabled and valid path to flash video player.
Comment #2
yukare commentedI have it working now, but my patch is simple very ugly now(because it move the content from one file to another, and i want to avoid this), so i will clean it a little more and commit it latter. Just give me one or two days and this will be available.
Comment #3
yukare commentedFixed in git, just wait a new dev release(can take 12 hours) or get from git.
Comment #4
spomerg commentedThanks for your hard work. Wish I had time to help! :)
Comment #5
deaconzero commentedHi there,
I was having the same problem but the new release fixed it. However, please look at this issue I just posted as it directly relates to the most recent update. Thanks.
http://drupal.org/node/1281198
Comment #6
xenophyle commentedIt looks like the next 2 commits undid the changes in lightbox2.module and now this issue is back. :(
Comment #7
xenophyle commentedActually, I just had forgotten to enable video in the lightbox2 config pages. But once I did that it still doesn't quite work. The lightbox opens with
inside, but the video never appears. Right clicking shows "Movie not loaded..."
However, if I try the old embed code option from Youtube (which doesn't support HTML 5), http://www.youtube.com/v/W_F5UkkqDOA?version=3&hl=en_US, then it works. The problem is that I am using video from Vimeo, and I haven't been able to get it to work.
Comment #8
xenophyle commentedOk, so I figured out my problem. Since my video is offsite it doesn't require the lightvideo functionality, I can just use the lightframe with href set to the video url. The original bug this issue is for may or may not be fixed, but my problem turned out not to be related, so I will set it back to how I found it.