JW Player (video) inside slider - Help!

pwalsh's Avatar


27 Oct, 2012 12:44 PM

Hi All,
Been trying to debug this for a week now and I don't have much hair left!!

I have the JWplayer inside the first slide of a slider OK (I think!), however when the slider loops back to the 1st slide the video isn't there and if I click on the "play" icon the slide seems to disappear? This only happens in Firefox and Safari. IE & Chrome appear OK.

Please have a look at this stripped down test page and see if you can help! (I'm very green with javascript - particularly syntax so any code suggestions would be welcome!)


I have also tried to use the "3rd party video player" code from here http://help.dimsemenov.com/kb/royalslider-javascript-api/adding-sup... However I'm really struggling with this one and it doesn't seem to make any difference?

Here's another link to where I've tried to envoke the above code:

Any help would be most appreciated! (Or even a link to where the jwplayer is working within a slider.)

Regards Walshi

  1. 1 Posted by pwalsh on 28 Oct, 2012 10:31 AM

    pwalsh's Avatar

    Anyone? Hellloooo!

    If you don't see the problem, use the right slider arrow and step through all the slides back to 1. At this point is the issue.

  2. Support Staff 2 Posted by Dmitry Semenov on 28 Oct, 2012 05:06 PM

    Dmitry Semenov's Avatar


    1. Video should not be added directly in slide. See here correct markup http://dimsemenov.com/plugins/royal-slider/documentation/#video

    2. You missed first step from the guide -http://help.dimsemenov.com/kb/royalslider-javascript-api/adding-su... and slider variable is undefined.


  3. 3 Posted by pwalsh on 28 Oct, 2012 05:54 PM

    pwalsh's Avatar

    Thanks Dmitry,

    However I'm still struggling with this! Please have a look at my code and let me know if I'm any nearer?


    Help is really appreciated.

    Regards Walshi

  4. Support Staff 4 Posted by Dmitry Semenov on 28 Oct, 2012 09:02 PM

    Dmitry Semenov's Avatar

    Please download example from bottom of this article http://help.dimsemenov.com/kb/royalslider-javascript-api/adding-sup...


  5. 5 Posted by pwalsh on 29 Oct, 2012 08:59 AM

    pwalsh's Avatar

    Dmitry my friend...

    You are a hero!

    Thanks so much for the code, that gives me a good starting point to work from.

    Regards Walshi

  6. Dmitry Semenov closed this discussion on 29 Oct, 2012 08:41 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac