Git Product home page Git Product logo

dynamic-slideshowdelay's People

Watchers

 avatar

dynamic-slideshowdelay's Issues

New Dynamic-slideshowDelay for Shadowbox

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.