Need two push to enter in the video

israel's Avatar

israel

12 Jul, 2019 11:41 PM

Hello,

I not change nothing and I see in this moment I need push two times to play a video in gallery

https://www.video-boda.es/

I pay today a support to check this.

Reggards

  1. Support Staff 1 Posted by Dmitry Semenov on 13 Jul, 2019 07:25 AM

    Dmitry Semenov's Avatar

    Hello,

    Some browsers changed video auto-play policy, and now require click directly on YouTube embed to start playing it. You may add muted parameter to video.youTubeCode option.

    Dmitry

  2. 2 Posted by israel on 13 Jul, 2019 08:22 AM

    israel's Avatar

    hello,

    But it has been suddenly, previously it did not do badly.
    Squeeze out a clock and put on the YouTube poster.

    I do not understand the solution you give me.

    reggards

     '''

    jQuery(document).ready(function ($) {

    $('#video-gallery').royalSlider({

    arrowsNav: false,

    fadeinLoadedSlide: true,

    controlNavigationSpacing: 0,

    controlNavigation: 'thumbnails',

    thumbs: {

    autoCenter: false,

    fitInViewport: true,

    orientation: 'vertical',

    spacing: 0,

    paddingBottom: 0

    },

    keyboardNavEnabled: true,

    imageScaleMode: 'fill',

    imageAlignCenter: true,

    slidesSpacing: 0,

    loop: false,

    loopRewind: true,

    numImagesToPreload: 3,

    video: {

    autoHideArrows: true,

    autoHideControlNav: false,

    autoHideBlocks: true,

    youTubeCode: '<iframe src="https://www.youtube.com/embed/%id%?rel=1&autoplay=1&showinfo=0" frameborder="0" allowfullscreen></iframe>'

    },

    autoScaleSlider: true,

    autoScaleSliderWidth: 960,

    autoScaleSliderHeight: 450,

    imgWidth: 1024,

    imgHeight: 768

    });

    });
    '''

  3. Support Staff 3 Posted by Dmitry Semenov on 13 Jul, 2019 02:03 PM

    Dmitry Semenov's Avatar

    To make the video muted you may modify youTubeCode option, for example:

    youTubeCode: '<iframe src="https://www.youtube.com/embed/%id%?rel=1&autoplay=1&showinfo=0&mute=1" frameborder="0" allowfullscreen></iframe>'
    

    Squeeze out a clock and put on the YouTube poster.

    Not quite understand what you mean by that, please elaborate.

  4. 4 Posted by israel on 16 Jul, 2019 06:49 PM

    israel's Avatar

    hello,

    I'm sorry I did not answer before I was very busy. When you press the
    poster of you, the YouTube poster appears, but the video is not started,
    you have to press again.

    Before, this did not happen.

    Enter the web and click on the video to see that it does not start

    Reggards

  5. Support Staff 5 Posted by Dmitry Semenov on 17 Jul, 2019 04:34 AM

    Dmitry Semenov's Avatar

    Hello,

    As I posted previously, there were changes with browser autoplay policy. That's why, as you say, - it didn't happen previously.

  6. 6 Posted by israel on 17 Jul, 2019 07:29 AM

    israel's Avatar

    Hello,

    Ok with "mute" fix this but not have sound, it is posible with javascript
    change property of mute on air, when the video begins?

    reggards

  7. Support Staff 7 Posted by Dmitry Semenov on 17 Jul, 2019 07:54 AM

    Dmitry Semenov's Avatar

    No, this only can be fixed if you embed YouTube <iframe> directly into HTML of the page. So user clicks on iframe instead of the slider.

Reply to this discussion

Internal reply

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

Attaching KB article:

»

Already uploaded files

  • Captura.JPG 220 KB

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