video Slider

Or's Avatar

Or

26 Oct, 2019 10:21 AM

Hello,
I've just purchased your plugin and I've encountered a severe issue.
Please take a look at this test page: https://stg.japanese-knives.co.il/royal-test/

Issues:
1. no matter where you press play, it's always the second video from the right that will play.
2. The arrows appear around the second from the right slide only, and not at the edges of the slider.
3. The slider is broken on mobile.

How can I get the play button to play the video that is clicked?
How can I get the arrows to show at the edges of the slider?
Where can I get a proper explanation for the size and scaling issue? I got it to work by guessing.
Why is the slider broken on mobile?
How can I disable the slider on mobile?

Thank You

  1. Support Staff 1 Posted by Dmitry Semenov on 26 Oct, 2019 03:03 PM

    Dmitry Semenov's Avatar

    Hello,

    Nearby-slides feature is designed to display layouts like https://dimsemenov.com/plugins/royal-slider/visible-nearby/ , the slider does not have the ability to display multiple videos at the same time.

    If you're having trouble configuring a gallery, you may choose one of the option-presets in the General Options section and then adjust it to fit your needs.

    To hide slider on certain screen size, you may use CSS, for example:

    @media all and (max-width: 400px) {
       .royalSlider  {
          display: none;
       }
    }
    

    If you're having trouble setting specific width or height, this mini-guide might help - http://help.dimsemenov.com/kb/royalslider-jquery-plugin-faq/how-to-...

    Dmitry

  2. 2 Posted by Or on 27 Oct, 2019 06:03 AM

    Or's Avatar

    Hello,
    I do not want to hide the slider, I want it not to run on mobile.
    I want that on a mobile the code will stop and not output anything, and not add weight and code to the site when it's not running.

    Thank you

  3. Support Staff 3 Posted by Dmitry Semenov on 27 Oct, 2019 12:39 PM

    Dmitry Semenov's Avatar

    You'll need to use server-side code to output shortcode only when you need. However, it's not very reliable as you'll need to parse http headers.

    Also, you might get issues if you use any kind of WordPress caching plugin. As well as seo issues, as search engines tend to prioritize mobile version.

    But if you're willing to implement it, check wp_is_mobile method https://codex.wordpress.org/Function_Reference/wp_is_mobile

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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