1
0
mirror of https://github.com/videojs/video.js.git synced 2025-01-25 11:13:52 +02:00

Added event comment

This commit is contained in:
Steve Heffernan 2012-02-13 13:23:06 -08:00
parent ca6a04acfe
commit 6afb6d8e75

View File

@ -346,6 +346,7 @@ _V_.Player = _V_.Component.extend({
},
onProgress: function(){
// Add custom event for when source is finished downloading.
if (this.bufferedPercent() == 1) {
this.triggerEvent("loadedalldata");
}