javascript - Is there a way to play videos in the background in iOS WeChat?
伊谢尔伦
伊谢尔伦 2017-07-05 11:06:56
0
2
993

Is there a way to play the video in the background in WeChat on iOS? Currently, when the video is played and clicked to play, it will automatically cover all the page elements in full screen. I want to play it in the background.

伊谢尔伦
伊谢尔伦

小伙看你根骨奇佳,潜力无限,来学PHP伐。

reply all(2)
给我你的怀抱

Add playsinline webkit-playsinline preload="preload" to the video tag

大家讲道理

Set width and height to 0 and play automatically:

<video width="0" height="0" autoplay>
  <source src="movie.mp4" type="video/mp4">
  <source src="movie.ogg" type="video/ogg">
</video>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template