Meta player, new embed code, new LSP style

This commit is contained in:
cat 2016-09-22 16:40:13 +02:00
parent 5501c67b49
commit d4be01474d
50 changed files with 6288 additions and 970 deletions

View file

@ -0,0 +1,23 @@
mistplayers.myplayer = {
name: 'My video player',
mimes: ['my/mime/types'],
priority: Object.keys(mistplayers).length + 1,
isMimeSupported: function (mimetype) {
return (this.mimes.indexOf(mimetype) == -1 ? false : true);
},
isBrowserSupported: function (mimetype) {
//TODO your code here
return false;
},
player: function(){}
};
var p = mistplayers.myplayer.player;
p.prototype = new MistPlayer();
p.prototype.build = function (options) {
var ele = this.element('object');
//TODO your code here
this.addlog('Built html');
return ele;
}