Can you start a full screen slideshow via javascript?
jfriend
Registered Users Posts: 8,097 Major grins
I have a customizer who wants to make their own Slideshow button and trigger the full screen slideshow from their button with javascript instead of using the existing button. Does anyone know if this is possible?
I see that SM.buttons.slideshowButton is the slideshow button, but I don't know how to trigger the slideshow via javascript. Anyone know how?
I see that SM.buttons.slideshowButton is the slideshow button, but I don't know how to trigger the slideshow via javascript. Anyone know how?
--John
Homepage • Popular
JFriend's javascript customizations • Secrets for getting fast answers on Dgrin
Always include a link to your site when posting a question
Homepage • Popular
JFriend's javascript customizations • Secrets for getting fast answers on Dgrin
Always include a link to your site when posting a question
0
Comments
Bump. Anyone please?
I could really use an answer to this question. It would solve a customization issue that a customer is having.
Homepage • Popular
JFriend's javascript customizations • Secrets for getting fast answers on Dgrin
Always include a link to your site when posting a question
Sadly, you can't launch the flash slideshow via javascript because of security concerns that Adobe has. The only way to do so is to have direct interaction by having someone click a mouse on the flash file itself - so we have an invisible flash file on top of the button that waits for you to click before going full screen.
You can however launch a popup window that has the full page flash slideshow:
Thanks for the answer JT. This customer wants a completely different control for launching the slideshow in a different place on the screen.
Customizing the current slideshow button doesn't seem to be able to get to what they want. I suppose it might be possible to embed another copy of your same invisible flash thing on top of their control and try to solve the problem that way. This might be more trouble than it's worth though. It certainly would have been easier to just launch the existing one with JS.
Homepage • Popular
JFriend's javascript customizations • Secrets for getting fast answers on Dgrin
Always include a link to your site when posting a question
Yeah, it would have been easier. But Adobe takes security seriously, so that is out. The code for creating the current blank flash button is on the page, pretty easy to change the div that it is put in.