2017-07-07 3317 views
0

我不是JavaScript的人,但我有js和插件VIDEOJS(Video.js v4.6.4版權所有2014 Brightcove,Inc. https://github.com/videojs/video.js/blob/master/)的項目。如何把application/x-mpegURL放在videojs源碼中

我recived錯誤:

video.dev.js:1384 VIDEOJS: ERROR: (CODE:4 MEDIA_ERR_SRC_NOT_SUPPORTED) The video could not be loaded, either because the server or network failed or because the format is not supported.

我知道,解決了這個問題,可以放在:<source src="video/test.m3u8" type="application/x-mpegURL">.但我的問題是,如何做到這一點。

回答