Embed: - fixed timer issue causing player to reload after an unload

- added version numbering
This commit is contained in:
Cat 2017-03-13 13:32:00 +01:00 committed by Thulinma
parent 27b85e76d3
commit b6486878ca
13 changed files with 38 additions and 11 deletions

View file

@ -1,5 +1,6 @@
mistplayers.dashjs = {
name: 'Dash.js Player',
version: '1.1',
mimes: ['dash/video/mp4'],
priority: Object.keys(mistplayers).length + 1,
isMimeSupported: function (mimetype) {
@ -131,3 +132,11 @@ p.prototype.resize = function(size){
this.element.width = size.width;
this.element.height = size.height;
};
p.prototype.updateSrc = function(src){
if (src == '') {
this.dash.reset();
return;
}
this.dash.attachSource(src);
return true;
};

View file

@ -1,5 +1,6 @@
mistplayers.flash_strobe = {
name: 'Strobe Flash Media Playback',
version: '1.0',
mimes: ['flash/10','flash/11','flash/7'],
priority: Object.keys(mistplayers).length + 1,
isMimeSupported: function (mimetype) {

View file

@ -1,5 +1,6 @@
mistplayers.html5 = {
name: 'HTML5 video player',
version: '1.0',
mimes: ['html5/application/vnd.apple.mpegurl','html5/video/mp4','html5/video/ogg','html5/video/webm','html5/audio/mp3','html5/audio/webm','html5/audio/ogg','html5/audio/wav'],
priority: Object.keys(mistplayers).length + 1,
isMimeSupported: function (mimetype) {

View file

@ -1,5 +1,6 @@
mistplayers.img = {
name: 'HTML img tag',
version: '1.0',
mimes: ['html5/image/jpeg'],
priority: Object.keys(mistplayers).length + 1,
isMimeSupported: function (mimetype) {

View file

@ -1,5 +1,6 @@
mistplayers.jwplayer = {
name: 'JWPlayer',
version: '0.1',
mimes: ['html5/video/mp4','html5/video/webm','dash/video/mp4','flash/10','flash/7','html5/application/vnd.apple.mpegurl','html5/audio/mp3','html5/audio/aac'],
priority: Object.keys(mistplayers).length + 1,
isMimeSupported: function (mimetype) {

View file

@ -1,5 +1,6 @@
mistplayers.polytrope = {
name: 'Polytrope Flash Player',
version: '0.1',
mimes: ['flash/11','flash/10','flash/7'],
priority: Object.keys(mistplayers).length + 1,
isMimeSupported: function (mimetype) {

View file

@ -1,5 +1,6 @@
mistplayers.silverlight = {
name: 'Silverlight',
version: '1.0',
mimes: ['silverlight'],
priority: Object.keys(mistplayers).length + 1,
isMimeSupported: function (mimetype) {

View file

@ -1,5 +1,6 @@
mistplayers.myplayer = {
name: 'My video player',
version: '0.1',
mimes: ['my/mime/types'],
priority: Object.keys(mistplayers).length + 1,
isMimeSupported: function (mimetype) {

View file

@ -1,5 +1,6 @@
mistplayers.theoplayer = {
name: 'TheoPlayer',
version: '0.1',
mimes: ['html5/application/vnd.apple.mpegurl','dash/video/mp4'],
priority: Object.keys(mistplayers).length + 1,
isMimeSupported: function (mimetype) {

View file

@ -1,5 +1,6 @@
mistplayers.videojs = {
name: 'VideoJS player',
version: '1.0',
mimes: ['html5/video/mp4','html5/application/vnd.apple.mpegurl','html5/video/ogg','html5/video/webm'],
priority: Object.keys(mistplayers).length + 1,
isMimeSupported: function (mimetype) {