splide icon indicating copy to clipboard operation
splide copied to clipboard

HTML5 Video Playsinline - Mobile issue

Open brian-open opened this issue 5 years ago • 2 comments

Hi, I'm hoping to integrate Splide video onto a website I'm building. It works perfectly for desktop but the videos will not playinline for mobile devices.

http://helipov.flywheelsites.com/

Below is my script for the video:

new Splide( '#home-slider',{
  width : '100vw',
  height: '100vh',
  video: {
    autoplay: true,
    mute    : true,
    width : '100vw',
    height: '100vh',
    playerOptions: {
      htmlVideo: {
        playsinline: true,
        mute    : true,
      },
    }
  },  

} ).mount({ Video });

Is there something in there that's incorrect?

IMG_3028

brian-open avatar Jan 29 '21 09:01 brian-open

I'm having trouble with this too. Raised this yesterday:

https://github.com/Splidejs/splide-extension-video/issues/23#issue-796131522

habitualshaker avatar Jan 29 '21 09:01 habitualshaker

Close the issue due to the major version update. Feel free to create a new issue or open a new discussion.

NaotoshiFujita avatar Oct 09 '21 15:10 NaotoshiFujita