Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #265796

    Hi everybody,
    I have 2 youtube videos inserted in my website with the iframe code.
    One on this page
    The code inserted is :
    <iframe id="ytplayer" type="text/html" width="560" height="315" src="//www.youtube.com/embed/jIC0dHjwtDw?rel=0&autoplay=0" frameborder="0" allowfullscreen></iframe>
    It’s work correctly the video don’t start automatically.
    The second video is inserted in the home
    The code inserted is :
    <iframe id="ytplayer" type="text/html" width="560" height="315" src="//www.youtube.com/embed/HFew6KXUsX0?rel=0&autoplay=0" frameborder="0" allowfullscreen></iframe>
    But the video start playing automatically.It is inserted in the layerslider.
    Both codes are identic, the only thing different is the id of the video. I don’t understand why it’s work fine outside the layerslider an why it doesn’t inside the layerslider.
    Could you help me to fix it please?
    Thank you!
    Pascal

    #265835

    Hey Pascal!

    The LayerSlider plugin has its own video settings for each slider. Go to the Slider Settings>video.

    Cheers!
    Devin

    #265888

    Thank you for your quick answer!
    I’m sorry but now I have another question how can i change (or remove) the image which hides the video? (http://img.youtube.com/vi/HFew6KXUsX0/maxresdefault.jpg)
    Thank you
    Pascal

    #265913

    Hi!
    It’s me again lol
    I found the solution thanks to the documentation.
    Thank you again for your quick answer!
    Have a good day!
    Pascal

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Layerslider Youtube video autoplay issue’ is closed to new replies.