| Index: ui/file_manager/video_player/js/cast/cast_video_element.js
|
| diff --git a/ui/file_manager/video_player/js/cast/cast_video_element.js b/ui/file_manager/video_player/js/cast/cast_video_element.js
|
| index a2ffb3904438a2246531ab8e510810771b2bd78a..8a19ad03e8fac8afb4a107617af28963277f4772 100644
|
| --- a/ui/file_manager/video_player/js/cast/cast_video_element.js
|
| +++ b/ui/file_manager/video_player/js/cast/cast_video_element.js
|
| @@ -486,6 +486,8 @@ CastVideoElement.prototype = {
|
| }
|
|
|
| if (this.currentMediaDuration_ !== media.media.duration) {
|
| + metrics.recordCastedVideoLength(this.currentMediaDuration_);
|
| +
|
| this.currentMediaDuration_ = media.media.duration;
|
| this.dispatchEvent(new Event('durationchange'));
|
| }
|
|
|