| 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 84937dbc944c2377367a473c4460c7218183d857..095ba600d7bb2c8d3ae11d46bd889912b43a22ea 100644
|
| --- a/ui/file_manager/video_player/js/media_controls.js
|
| +++ b/ui/file_manager/video_player/js/media_controls.js
|
| @@ -972,6 +972,13 @@ function VideoControls(containerElement, onMediaError, stringFunction,
|
| this.initTimeControls(true /* show seek mark */);
|
| this.initVolumeControls();
|
|
|
| + // Create the cast button.
|
| + this.castButton_ = this.createButton('cast menubutton');
|
| + this.castButton_.setAttribute('menu', '#cast-menu');
|
| + this.castButton_.setAttribute(
|
| + 'label', this.stringFunction_('VIDEO_PLAYER_PLAY_ON'));
|
| + cr.ui.decorate(this.castButton_, cr.ui.MenuButton);
|
| +
|
| if (opt_fullScreenToggle) {
|
| this.fullscreenButton_ =
|
| this.createButton('fullscreen', opt_fullScreenToggle);
|
|
|