| Index: ui/file_manager/video_player/js/media_controls.js
|
| diff --git a/ui/file_manager/video_player/js/media_controls.js b/ui/file_manager/video_player/js/media_controls.js
|
| index e246c830be50fa0be3637114ae990a52dd5f3e5a..9a87bf198e11e8843bf00bc154d5ba38701a15fa 100644
|
| --- a/ui/file_manager/video_player/js/media_controls.js
|
| +++ b/ui/file_manager/video_player/js/media_controls.js
|
| @@ -361,6 +361,10 @@ MediaControls.prototype.attachMedia = function(mediaElement) {
|
| this.media_.addEventListener('timeupdate', this.onMediaProgressBound_);
|
| this.media_.addEventListener('error', this.onMediaError_);
|
|
|
| + // If the text banner is being displayed, hide it immediately, since it is
|
| + // related to the previous media.
|
| + this.textBanner_.removeAttribute('visible');
|
| +
|
| // Reflect the media state in the UI.
|
| this.onMediaDuration_();
|
| this.onMediaPlay_(this.isPlaying());
|
|
|