Good afternoon and thank you for your kind attention,
I've downloaded Shadowbox Media Viewer for Joomla, I suppose the version is 3.0.3, I changed inside the JW player and I can see pictures and videos (autostart).
I would like to have a slideshow but actually it stops videos to jump to the next photo or video. There is any chance to let the video go till the end and then jump?
Thank you a lot!

Comments

Barabba’s picture

I've found an interesting article about it:
http://shadowbox.1309102.n2.nabble.com/Change-slideshowDelay-during-a-sl...

May I can introduce some lines to Shadowbox.init({ to check if currently is playing a video and do a behaviour, while on photos do another? Thank you!

Barabba’s picture

Good morning everyone here! Here's the email I sent to MIchael, I hope the idea may involve other people too :) thank you a lot for your attention!

Recently I implemented shadowbox on my new Joomla site, it was a bit difficult due a set (HTML5 compression) which didn't open JW player but I'm happy I've solved it.
I've some videos and photos to show and I would like to use "slideshowDelay", but it produces the jump to next file even on videos, that has absolutely sense since the script can't understand when the video finish.

I would like really kindly to ask you if it's possible to overcome about this problem, I have an idea:
every time a file is going to be executed (by key pressing, or timer, or shadowbox.js is called), in this exact part of the script, we could introduce a check on the file name who is going to be executed. We may decide for the last 3 chars of the file, if they are all numbers we may use them as time delay for the next file (you may introduce even to end the file with a "-" for enable this feature, to don't create any confusion to the other users who using your script and are not interested to this feature).

In this case we may have the following advantages:
1) The user can decide to give each object a different delay and easly pass this infos to the script by only the file name. He has to know how long the videos will play, and the script will jump to next file around the end of the video (999 seconds may be enough).
2) If the user force to jump to next file for example, there will not be the "old delay counter bug" who is affecting to the new image, as every time a file is executed the slideshowDelay parameter will be set/adjusted by reading its file name.
3) Easy implementation of the code, as (I guess) no other actions should be written in other part of the script to solve new issues. If the user doesn't want to use this feature it simply has to be sure his files will not end by "-"

Thank you a lot for your attention, please write me some lines back,
Giovanni