Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I think I've looked through most of the documentation and issues related to showing SWF in the lightbox, but still can't seem to get it to work.
I added a player, set the config for video. It seems to add a display: none and lightbox_hidden to the SWF object tag. How do I get this to work. The page I'm testing on is here.
Thanks for any help.
Comments
Comment #1
stella CreditAttribution: stella commentedDuplicate of #357318: Lightbox does not load flv player after upgrade
Comment #2
cardell CreditAttribution: cardell commentedAny idea which of these you think is causing the problem?
I think I went through most of those proposed solutions. I thought it might be some setting I had wrong because the lightbox comes up with the flash object tag, but the tag has an added "display: none" and "class: lightbox_hidden".
After looking, it seems to be this code (line 990) from lightbox.js. When I commented out the hide section, the flash shows fine.
Is there something I can check or have set wrong to cause this code to be triggered that hides the flash?
Comment #3
stella CreditAttribution: stella commentedIs the flash object you're interested meant to appear in the lightbox or on the page behind the lightbox?
Can you paste in the html you're using to generate the lightbox link (within 'code' tags)?
Cheers,
Stella
Comment #4
cardell CreditAttribution: cardell commentedI want it to appear in the lightbox. Below is the html I have for the lightbox.
Comment #5
cardell CreditAttribution: cardell commentedI want the flash to appear in the lightbox. Below is the html I have for the lightbox.
Comment #6
stella CreditAttribution: stella commentedAh, okay I see what you're doing. Will take a look at it this evening.
Comment #7
cardell CreditAttribution: cardell commentedstella,
Did you get a chance to take a look at this?
Comment #8
raff77 CreditAttribution: raff77 commentedI have a similar issue. When I have a light box over a flash panel the flash reloads when you change the style property to hidden (only on firefox). Is it possible to have an option to hide flash objects on the page rather than doing it by default. The problem I have is that I am dynamically creating links from flash which is a subsection. When the flash reloads they loose state.
Thanks in Advance.
Ronan
Comment #9
mzabala CreditAttribution: mzabala commentedI have been having this issue as well. When loading an HTML frame that contains a flash element (Such as a video player) it applied the class " lightbox_hidden " and set it to " display: none; "
I don't want to link directly to the video so lightvideo is not an option for me.
To get it to work, I also had to comment out
But I don't want to have to patch the module on every upgrade. Suggestions?
Comment #10
stella CreditAttribution: stella commentedFixed in dev.