1
0
mirror of https://github.com/videojs/video.js.git synced 2025-01-02 06:32:07 +02:00

@bc-bbay update time display on loadedmetadata. closes #2151

This commit is contained in:
Brandon Bay 2015-05-19 12:02:34 -04:00 committed by David LaPalomento
parent 652a44026f
commit c4717ebed9
2 changed files with 2 additions and 0 deletions

View File

@ -4,6 +4,7 @@ CHANGELOG
## HEAD (Unreleased)
* @tjenkinson Added background-color to vjs-poster to remove transparent borders around scaled poster image ([view](https://github.com/videojs/video.js/pull/2138))
* @bc-bbay fixed a bug where the player would try to autoplay when there was no source ([view](https://github.com/videojs/video.js/pull/2127))
* @bc-bbay update time display on loadedmetadata ([view](https://github.com/videojs/video.js/pull/2151))
--------------------

View File

@ -51,6 +51,7 @@ vjs.DurationDisplay = vjs.Component.extend({
// Once the order of durationchange and this.player_.duration() being set is figured out,
// this can be updated.
this.on(player, 'timeupdate', this.updateContent);
this.on(player, 'loadedmetadata', this.updateContent);
}
});