Good Morning all,
I am having a new interesting Dilema, I got informed iOS (iPhone specifically) devices open players in full screen all the time, and now i have hotspots active but they dont goto the full screen. But i know when the video finishes it goes back to the normal view.
So what i thought was to have the hotspots active on video stop and onComplete it will load a new image that will be in the dialog so users can se where to "click"
So now i have tried all of these methodes, and I know they work mostly because if I place "alets:"Testing"," I get the alert dialog, but in all of them the image doesnt seem to change at all.
Loading the player...
var playerInstance = jwplayer("myElement");
var preBufferDone = false;
playerInstance.setup({
file: $("#myElement").data("video"),
stretching: "exactfit",
width:"100%",
aspectratio:"16:9",
hlslabels:{
"2600":"720p",
"1000":"480p",
"900":"180p"
}
});
playerInstance.on('complete', function(e){
image: "./Images/oncomplete/01-whatami.png";
});
--------------------------------------------------------------------------
or using
playerInstance.onComplete function(e){
image: "./Images/oncomplete/01-whatami.png";
});
--------------------------------------------------------------------------
or having iether of those methodes in the setup like this
var playerInstance = jwplayer("myElement");
var preBufferDone = false;
playerInstance.setup({
file: $("#myElement").data("video"),
stretching: "exactfit",
width:"100%",
aspectratio:"16:9",
hlslabels:{
"2600":"720p",
"1000":"480p",
"900":"180p"
},
onComplete: function(e){
image: "./Images/oncomplete/01-whatami.png";
})
});
↧