Accessing HLS object from player instance
See original GitHub issueif autoStartLoad
is set to false, according to this document i will have to make an explicit call to start loading ie) hls.startLoad(startPosition=-1)
. for this i need the underlying hls instance.
is there any way i can get that instance?
Issue Analytics
- State:
- Created 7 years ago
- Reactions:2
- Comments:29 (16 by maintainers)
Top Results From Across the Web
HLS.js Player - Flashphoner Documentation
Example of stream convertion to HLS and playing it in browser using HLS.js. The player shows how to convert stream published on WCS...
Read more >HLS - ExoPlayer
Accessing the manifest ... You can retrieve the current manifest by calling Player.getCurrentManifest . For HLS you should cast the returned object to...
Read more >HLS Plugin - Brightcove Player Documentation
The HLS plugin is a Brightcove Player plugin that relies on W3C's Media Source Extensions (MSE) to play HTTP Live Streaming (HLS) video...
Read more >Using AVFoundation to Play and Persist HTTP Live Streams
This sample provides a catalog of HTTP Live Streams (HLS) that you can play by tapping the row in the table corresponding to...
Read more >Home | hls.js
JavaScript HLS client using MediaSourceExtension. ... hls.js does not need any player, it works directly on top of a standard HTML <video> element....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey guys, sorry for late reply.
We’ve updated the repo and added the
beforeinitialize
hook feature, that gives you access to hls.js instance right after it is created without actually exposing hls.js instance as a property.Please check this out https://github.com/streamroot/videojs-hlsjs-plugin#initialization-hook. It should do the trick.
@woutd ah ok I understand the problem now, and what @mkhazov initially meant! sorry i was only reading over this quickly the other day.
your PR seems to be a good fix for that 😃
unfortunately i am not anymore a maintainer of this project with any write privileges. i just happen to being notified about these posts by chance. and i am always happy to answer any questions about anything when i can 😉
you should probably check with @ruslandinov if he can merge this into upstream master branch.