HTML5 video background on iPad/iphone

后端 未结 8 672
故里飘歌
故里飘歌 2021-01-30 18:36

I used this solution to use an html5 video as the background of my site.

However, it doesn\'t seem to work on iPad/iphone, all I am getting is a black screen, and the vi

8条回答
  •  南笙
    南笙 (楼主)
    2021-01-30 18:49

    I have stumbled upon something that might help you with this task..

    http://vagnervjs.github.io/frame-player/

    Its a JS player that receives a JSON list of images representing frames of the video.

    This will also provide flexibility with regards to styling options of the video itself and responsiveness..

    • You could load a different set of images (lower in quality) to suuport IPADs vs. desktop support for instance.

提交回复
热议问题