summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/filebrowse.html
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/resources/filebrowse.html')
-rw-r--r--chrome/browser/resources/filebrowse.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/resources/filebrowse.html b/chrome/browser/resources/filebrowse.html
index 4ebbe325..095bb2d 100644
--- a/chrome/browser/resources/filebrowse.html
+++ b/chrome/browser/resources/filebrowse.html
@@ -1190,8 +1190,8 @@ function playMediaFile(path) {
videoPlaybackElement.src = 'file://' + path;
}
} else {
- var newPath = 'chrome://filebrowse#' + path;
- chrome.send('openNewPopupWindow', [newPath]);
+ var newPath = 'file://' + path;
+ chrome.send('playMediaFile', [newPath]);
}
};