Hola resulta que tengo un script de jwplayer pero no logro integrar el botón de diferentes tipo de calidas 360p,480p,720p es este script:
jwplayer.key = "";
*{margin:0;padding:0}#container{position:absolute;width:100%!important;height:100%!important}
var playerInstance = jwplayer("container");
playerInstance.setup({
tracks: [{ file: "", label: "Esp", kind: "captions", default: "true", }],
captions: {
color: "#FFFFFF",
fontsize: 20,
backgroundOpacity: 50
},
width: " }],00%",
height: "100%",
title: "",
controls: true,
displaytitle: true,
aspectratio: "16:9",
fullscreen: "true",
primary: 'html5',
provider: 'http',
autostart: false,
image:"",
sources: ,
logo : {file: "",
link: "",
hide: true,
},
abouttext: "",
aboutlink: ""
});
playerInstance.addButton('http://i.imgur.com/4BwxuvF.png','Download video',
function(){window.open(playerInstance.getPlaylistItem()['sources'][playerInstance.getCurrentQuality()].file+'&title=', '_blank').blur();
//window.location.href = playerInstance.getPlaylistItem()["sources"][playerInstance.getCurrentQuality()].file;
},'download');
Espero y me puedan ayudar a integrar el botón de calidad
↧