Okay
  Public Ticket #1807958
Video in layerslider
Closed

Comments

  • goossep started the conversation

    I am trying to use layerslider (with Enfold theme) to  show  a short 7mb video (as the slide background) I have uploaded it to media library in word press, and I can see the file is there, but when i try to insert the file or look at it in media library in the layerslider it does not exist..

    is there some limitations to showing hosted mp4 videos with layerslider.?

  • [deleted] replied

    Hello goossep,

    Thank you for getting in touch with us. My name is Attila and I'm happy to assist you today. I appreciate your patience while we've been working towards your ticket.

    No, there is no limitation. If you upload a video to your media library it should show up in the slider as well. Please make sure that you select the corresponding video/audio layer type, click on the add media button and select the media library tab at the top. All of the uploaded mp4 videos should be there for you to select. One more thing to look out for is that you don't filter it by date with the dropdown menu.

  •   goossep replied privately
  • [deleted] replied

    Thank you. I've logged in and tested this, but the video is there in the plugin too. I was able to add it to a test slider without any problem. I left it there so you can see it.

    If you follow the steps from my last response you can also find it:

    Please make sure that you select the corresponding video/audio layer type, click on the add media button and select the media library tab at the top. All of the uploaded mp4 videos should be there for you to select. One more thing to look out for is that you don't filter it by date with the dropdown menu.

    In short, add your video as a video layer in the slider and then set it to be a background video.

  •   goossep replied privately
  • goossep replied

    BTW the video is silent and i have set the volume to Zero

  • goossep replied

    I fixed it with muted in 

    <video width="640" height="360" preload="metadata" muted="muted" controls>
    <source src="/wordpress/wp-content/uploads/2018/12/webclip1280x720_silent-1.mp4" type="video/mp4">
    </video>


  • [deleted] replied

    Regarding the autoplay problem in Chrome. The reason for that is Google Chrome's Autoplay Policy Change. Google introduced browser restrictions, which will prevent automatic video/audio playback in certain situations. Autoplay is now allowed only when either the media won't play sound, after the user clicks or taps on the site, or (on desktop) if the user has previously shown an interest in media on the site. 

    We are already working on the update that will include an improvement that can bypass these restrictions, so the video autoplay will work again on Chrome as well. We will release it as soon as we are ready. Thank you for your understanding.

    As for the video frames, I'm not sure what is causing them to proceed with different speed if the duration is set in ms for both. But the fps difference could be the case easily. I'd recommend to match the slide's duration to it manually to bypass this.