$(document).ready(function() {
var api721815 = flowplayer("#player_721815", {
width : 700,
height : 85,
ratio: 9/16,
keyboard :false,
embed :false,
playlist: [
{
// set up adverts for second clip
ima: {
ads: [{
// a pre-roll advert for this feature
time: 10,
ad_type: "standardvideo",
max_ad_duration: 6000,
sdmax: 6000,
}]
},
title: "Flowplayer Quality Selector",
// quality selector plugin configuration
qualities: [, "480p", "284p"],
qualitiesUrl : {
"480p": "http://cdn.tabnak.ir/files/fa/news/1396/2/19/721859_141.mp4","284p": "http://cdn.tabnak.ir/files/fa/news/1396/2/19/721860_890.mp4",
},
sources: [
{ type: "video/mp4",src: "http://cdn.tabnak.ir/files/fa/news/1396/2/19/721858_870.mp4" },
]
},
]
});
// prevent seeking completely, also via keyboard
var disable = function (e) {
e.preventDefault();
}
var enable = function (e) {
return true;
}
api721815.on('ready', function