question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Accessing HLS object from player instance

See original GitHub issue

if 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:closed
  • Created 7 years ago
  • Reactions:2
  • Comments:29 (16 by maintainers)

github_iconTop GitHub Comments

1reaction
ruslandinovcommented, Apr 6, 2018

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.

0reactions
tchakabamcommented, Oct 21, 2016

@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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found