LSP
- ()error at required options Embed - Dash and Flash demand a http stream source when the player is loaded over http - put mimetypes together when sorting sources
This commit is contained in:
parent
f00344f8ca
commit
6276485b66
6 changed files with 19 additions and 16 deletions
|
@ -5,7 +5,8 @@ mistplayers.dashjs = {
|
|||
isMimeSupported: function (mimetype) {
|
||||
return (this.mimes.indexOf(mimetype) == -1 ? false : true);
|
||||
},
|
||||
isBrowserSupported: function (mimetype) {
|
||||
isBrowserSupported: function (mimetype,source,options) {
|
||||
if ((options.host.substr(0,7) == 'http://') && (source.url.substr(0,8) == 'https://')) { return false; }
|
||||
return (('dashjs' in window) && ('MediaSource' in window) && (location.protocol != 'file:'));
|
||||
},
|
||||
player: function(){}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue