search

Home  >  Q&A  >  body text

javascript - Html5 怎么播放 m3u8的视频,框架使用的是Angular?

在项目中视频的格式使用的是m3u8,但是Html5的video不支持这种格式的播放,前端开发框架是Angular?

PHPzPHPz2771 days ago1034

reply all(4)I'll reply

  • 伊谢尔伦

    伊谢尔伦2017-04-18 09:22:10

    Try video.js

    reply
    0
  • 天蓬老师

    天蓬老师2017-04-18 09:22:10

    Safari should have built-in support for m3u8

    If you use video.js, you need to add the videojs-contrib-hls plug-in

    But it seems that IE is not supported

    reply
    0
  • ringa_lee

    ringa_lee2017-04-18 09:22:10

    Backend converted to universal mp4

    reply
    0
  • 天蓬老师

    天蓬老师2017-04-18 09:22:10

    The mobile version supports m3u8, but the computer does not support it

    reply
    0
  • Cancelreply