Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(198)

Unified Diff: ui/file_manager/video_player/js/cast/cast_video_element.js

Issue 537863002: Video Player: fix misc bugs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase & fix bugs Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ui/file_manager/video_player/js/cast/media_manager.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 be1748921da6e85dba4fd6fd1440518076ce9dee..d20455a5b84fb0f7d50eafb39837ac6ff8c49c0c 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
@@ -261,8 +261,8 @@ CastVideoElement.prototype = {
this.mediaManager_.getThumbnail()]).
then(function(results) {
var url = results[1];
- var mime = results[2];
- var thumbnailUrl = results[3];
+ var mime = results[2]; // maybe empty
+ var thumbnailUrl = results[3]; // maybe empty
this.mediaInfo_ = new chrome.cast.media.MediaInfo(url);
this.mediaInfo_.contentType = mime;
« no previous file with comments | « no previous file | ui/file_manager/video_player/js/cast/media_manager.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698