Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HLSJS with Secure Key and Api Load #581

Open
N0WayH0me opened this issue Sep 25, 2017 · 1 comment
Open

HLSJS with Secure Key and Api Load #581

N0WayH0me opened this issue Sep 25, 2017 · 1 comment

Comments

@N0WayH0me
Copy link

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

@phloxic
Copy link

phloxic commented Sep 26, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants