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 f436c9a0a0febe3d33aa01af3f8ac2b802262aec..2364e3cb2eae74423c4a11b8bf832a52968b76ae 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 |
@@ -119,7 +119,8 @@ CastVideoElement.prototype = { |
if (!this.castMedia_) |
return true; |
- return this.castMedia_.idleReason === chrome.cast.media.IdleReason.FINISHED; |
+ return !this.playInProgress && |
+ this.castMedia_.idleReason === chrome.cast.media.IdleReason.FINISHED; |
}, |
/** |