1
0
mirror of https://github.com/videojs/video.js.git synced 2025-01-17 10:46:00 +02:00

Removed the loadedalldata event

closes #2591
closes #1676
This commit is contained in:
heff 2015-09-14 18:15:30 -07:00
parent 99376bf396
commit 4cb76873f4
2 changed files with 1 additions and 12 deletions

View File

@ -133,6 +133,7 @@ CHANGELOG
* @gkatsev added a mouse-hover time display to the progress bar ([view](https://github.com/videojs/video.js/pull/2569))
* @heff added an attributes argument to createEl() ([view](https://github.com/videojs/video.js/pull/2589))
* @heff made tech related functions private in the player ([view](https://github.com/videojs/video.js/pull/2590))
* @heff removed the loadedalldata event ([view](https://github.com/videojs/video.js/pull/2591))
--------------------

View File

@ -856,11 +856,6 @@ class Player extends Component {
*/
handleTechProgress_() {
this.trigger('progress');
// Add custom event for when source is finished downloading.
if (this.bufferedPercent() === 1) {
this.trigger('loadedalldata');
}
}
/**
@ -2571,13 +2566,6 @@ Player.prototype.handleLoadedMetaData_;
*/
Player.prototype.handleLoadedData_;
/**
* Fired when the player has finished downloading the source data
*
* @event loadedalldata
*/
Player.prototype.handleLoadedAllData;
/**
* Fired when the user is active, e.g. moves the mouse over the player
*