By product7 on
Running Drupal 7.9 + Views + various lightbox modules
We're hitting a wall on implementing a lightbox solution for
YouTube videos in an almost-complete Drupal 7 install.
Media module is set up and playing YouTube Videos.
This works fine.
We've set a view for displaying thumbs in a block.
That works fine.
We're able to link from a thumb and play the video fine.
We're NOT able to open the video and play the video in a lightbox,
for some reason. We've tried these modules (which are working
separately from): shadowbox, lightbox2 or
colorbox modules.
Has anyone gotten this to work who can supply
a step by step solution. Or point us to a solution
outlined on the web.
Thanks
Comments
Anyone?
No solutions posted so far. I'm sure others have hit this wall.
+1
I've been spinning my wheels on this issue also. If anybody comes up with a solution, please let us know!
Same here
Tried all day, can't find the proper solution.
Media Gallery
Have you tried the Media Gallery module? I haven't, but the documentation says it can display in a lightbox: http://www.drupalgardens.com/documentation/gallery
Peacog Web Development
Lightbox 2 from image worked for me
I am not sure if this is what you are looking for, but (after Lightbox2 install) I just put this in the html and it worked for me. I think the key is rel="lightvideo", not "lightbox":
<a href="URL_of_video" rel="lightvideo"><img src="thumbnail_image"></a>Link won't work
We are dealing here with a media input, cant put the direct anchor link.
You can do that with media vimeo or youtube + views + lightbox2
Hi this can be achieve using media:vimeo or media:youtube in combination with lightbox2 to trigger in views you'll have to patch the lightbox trigger (witch is an option in views, once the lightbox2 module is installed)
Hope this helps... an example can be found here: www.burlesque-cabaret.ch
Selfirian, can you please
Selfirian, can you please elaborate on how to do what you stated above?
How I got it working
Hey guys after hours of trawling the web I found this thread which shows you how to get it working using Colorbox. I think something similar should be possible with Lightbox, but the Lightbox trigger function in views is throwing up a missing handler error for me.
http://drupal.org/node/1296974
Used to be simple to do in Drupal 6 so hopefully it will be made as easy in Drupal 7 at some point.
----------
Drupalden.co.uk - Drupal guides, hints, tips...
dreardon's post above is what
dreardon's post above is what I've done in the past.
In the view, you have an option to put a rel attribute of "lightbox" or "lightvideo" for media. I've had success doing it that way.