Open N0WayH0me opened 6 years ago
Hi.
I have a working page with flowplayer + HLSJS + Secure Key. Everything is working fine ;)
But now i want to add an external button to launch ( play ) the video. If i know how to do it for a normal video :
$(function () { // load clip object $("button:first").click(function () { flowplayer(0).load({ sources: [ { type: "application/x-mpegurl", src: "//source" } ] }); }); });
I dont success to load the secure stream. Firefox Dev Console show me that the keyfile is not loaded ( access forbiden ) But i dont know why.
On a same test page i have classic script and button load script. first one works, second one not.
So how can i use Hlsjs secure with load button ?
Thanks
Hi @N0WayH0me - hlsjs is not flashls, one of its main purposes is to get rid of the need of flashls ;-)
I presume you asked in the Flowplayer forum and I answered here.
Hi.
I have a working page with flowplayer + HLSJS + Secure Key. Everything is working fine ;)
But now i want to add an external button to launch ( play ) the video. If i know how to do it for a normal video :
I dont success to load the secure stream. Firefox Dev Console show me that the keyfile is not loaded ( access forbiden ) But i dont know why.
On a same test page i have classic script and button load script. first one works, second one not.
So how can i use Hlsjs secure with load button ?
Thanks