-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
Setting src to an empty string throws an error. #1785
Comments
This looks like a regression, setting |
I ran into this several version ago and fixed it by using a single space for the src(" "). An empty string caused the video to continue loading, but the single space finally terminated the connection. |
Ok so I think we're all talking about different things here. There's an actual issue that was introduced in 4.11.3 that we're putting out a fix for right now. @02clams if you're referring to the |
I was also referring to the |
Perhaps I do something not so, but in the last stable version ( with the editings given above ), at: _player.src (' ');_ Linyx Mint 17, Chrome 40:
Linux Mint 17, FF 35:
|
Last version.
Result: |
You're totally right. I'm going to edit this title to be a little more descriptive and re-open. |
Is there a preferred way to clear out the source in I am using the resolutions plugin that seems to set this on load. See https://github.com/vidcaster/video-js-resolutions/blob/master/video-js-resolutions.js#L42 for reference. With that line in there, I am also seeing the |
thanks for that! |
Is there a good way to stop the current video from loading?
player.src('')
works but spews errors into the console, which is undesirable.Why not dispose of the player? I want to continue playing the same video later, I just don't want it eating bandwidth while "paused".
The text was updated successfully, but these errors were encountered: