Video controls are visible but inaccessible within slider

andrnimm's Avatar

andrnimm

28 Aug, 2012 05:53 PM

I'm putting self-hosted videos within photo sliders, and thanks to your doc on adding support for third-party video players, it's almost working.

Only problem is, the player controls are there but i cant use them, i can only swipe to the next slide. Can I disable swipe on video slides?

I'm using video-js as the player, by the way.

  1. Support Staff 1 Posted by Dmitry Semenov on 28 Aug, 2012 06:02 PM

    Dmitry Semenov's Avatar

    Please try to add rsNoDrag class to video element and tell me if this helps.

    Dmitry

  2. 2 Posted by andrnimm on 28 Aug, 2012 06:11 PM

    andrnimm's Avatar

    That did it. Thanks! :)))

    It has to be in the markup in sliderVideoObj, rather than in the markup for the individual slide, it seems.
    Also, I don't know if it makes a difference, but that docu has two different wordings, sliderVideoObj and sliderInstanceVideoObj
    i've used sliderVideoObj

  3. Support Staff 3 Posted by Dmitry Semenov on 28 Aug, 2012 06:19 PM

    Dmitry Semenov's Avatar

    That was a typo, just fixed it.


    Dmitry

  4. 4 Posted by andrnimm on 31 Aug, 2012 02:18 AM

    andrnimm's Avatar

    Update - rsNoDrag worked for Safari and Firefox, but I just realized it didn't work for Chrome.

  5. Support Staff 5 Posted by Dmitry Semenov on 31 Aug, 2012 05:42 PM

    Dmitry Semenov's Avatar

    Can you send me link to your page?

    Dmitry

  6. 6 Posted by andrnimm on 31 Aug, 2012 06:32 PM

    andrnimm's Avatar

    My mistake! Video source was missing .mp4 version, i only had .m4v .ogv and .webm

    Chrome won't play .m4v anymore. needs .mp4 aac

  7. Dmitry Semenov closed this discussion on 01 Sep, 2012 07:02 AM.

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

Keyboard shortcuts

Generic

? 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