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

[question] prevent prefetch hls playlist on page load #813

Closed
kinoher opened this issue Apr 13, 2020 · 5 comments
Closed

[question] prevent prefetch hls playlist on page load #813

kinoher opened this issue Apr 13, 2020 · 5 comments
Labels
planned planned to be worked on in the future

Comments

@kinoher
Copy link

kinoher commented Apr 13, 2020

Description

I have server side video transcoder . video transcoding will starting when request hls playlist. On my page 5 instances videojs and browser trigger start 5 encoding process when page loaded in sametime, it's very bad and generate overload.
how to load playlist after click play button?

Sources

gist

Steps to reproduce

Explain in detail the exact steps necessary to reproduce the issue.

Results

Expected

Please describe what you expected to happen that did not happen in the description.

Error output

If there are any errors in the console, from the player, or anywhere else please include them here:

Additional Information

Please include any additional information necessary here. Including the following:

videojs-http-streaming version

what version of videojs-http-streaming does this occur with?
videojs-http-streaming 7.6.6(videojs from cdn)

videojs version

what version of videojs does this occur with?
video.js 7.6.6 (cdn)

Platforms/browsers

what platforms are affected? please include operating system and version or device and version for each

  • linux/firefox 75.0
  • android/firefox 68
  • windows/chrome 80.0.3987

Other Plugins

are any other videojs plugins being used on the page? If so, please list them with version below.
*

Other JavaScript

are you using any other javascript libraries or frameworks on the page? if so please list them below.
*

@welcome
Copy link

welcome bot commented Apr 13, 2020

👋 Thanks for opening your first issue here! 👋

If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.
To help make it easier for us to investigate your issue, please follow the contributing guidelines.

@gkatsev
Copy link
Member

gkatsev commented Apr 15, 2020

Unfortunately, that is a bug that we need to address. For now, the workaround would be to not set the source on the player until a play request is made.

@kinoher
Copy link
Author

kinoher commented Apr 16, 2020

thanks for your reply.
Please provide detail explain or example for this solution, i'm noob in javascript.

@stale
Copy link

stale bot commented Jun 17, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the outdated label Jun 17, 2020
@stale stale bot closed this as completed Jun 26, 2020
@gkatsev gkatsev reopened this Jun 30, 2020
@stale stale bot removed the outdated label Jun 30, 2020
@gkatsev gkatsev added the planned planned to be worked on in the future label Jun 30, 2020
@gkatsev
Copy link
Member

gkatsev commented Sep 20, 2021

We've since addressed this issue #1060

@gkatsev gkatsev closed this as completed Sep 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
planned planned to be worked on in the future
Projects
None yet
Development

No branches or pull requests

2 participants