HLSJS with Secure Key and Api Load
Nobody has claimed this yet.
- Dominant language
- ActionScript
- Stars
- 744
- Forks
- 259
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the external button's flowplayer(0).load call and compare it with the working classic script on the same test page. Use the Firefox Dev Console to reproduce the forbidden keyfile request and determine why loading the secure stream differs; done means the secure stream loads and plays through the button without the access error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- audio-video-rtc
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100