Videos no longer streaming with mediaelement.js in Chrome

后端 未结 3 933
耶瑟儿~
耶瑟儿~ 2021-02-15 10:53

Over the past few days, we noticed that our videos quit streaming using MediaElement.js Version 2.11.3 and Chrome Version 50.0.2661.94 (64-bit)

3条回答
  •  挽巷
    挽巷 (楼主)
    2021-02-15 11:13

    It also can be a CORS issue. Set media.crossOrigin = 'anonymous'; And make sure that the server response has the header Access-Control-Allow-Origin: *. Or instead of the asterisk wildcard, specify the domain of the website that is allowed to access the video from the server.

提交回复
热议问题