-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor of including javascript content to brightcove player #49
Conversation
var controlsTabOrder = [ | ||
'progressControl', | ||
'playToggle', | ||
'playbackRateMenuButton', | ||
'volumeMenuButton', | ||
'resolutionSwitcher', | ||
// 'resolutionSwitcher', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Delete it
'captionsButton': controlBar.captionsButton.el_, | ||
'volumeMenuButton': controlBar.volumeMenuButton.volumeBar.el_, | ||
'fullscreenToggle': controlBar.fullscreenToggle.el_, | ||
// 'resolutionSwitcher': _player.controlBar.resolutionSwitcher, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Delete it
'volumeMenuButton': controlBar.volumeMenuButton.volumeBar.el_, | ||
'fullscreenToggle': controlBar.fullscreenToggle.el_, | ||
// 'resolutionSwitcher': _player.controlBar.resolutionSwitcher, | ||
'playbackRateMenuButton': controlBar.playbackRateMenuButton.el_ | ||
}; | ||
|
||
// Swith off tabIndex for volumeMenuButton and free slot for volumeBar |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo: Switch
@@ -396,3 +396,42 @@ body .video-js .vjs-menu-button-popup .vjs-menu .vjs-menu-item:hover { | |||
background-color: #171a1b; | |||
color: #0ea6ec; | |||
} | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Extract this new code to .../css/transcripts.css
.
|
||
def add_js_content(self, path, **context): | ||
""" | ||
Helper for adding javascript content to brightcove player |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it only for brightcove or can be used in other players?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right now we need this for Brightcove only. But it can be used for other players too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In this case, it makes sense to avoid using brightcove
player name in the docstring
5a0f1e3
to
c87c596
Compare
Bump django from 2.2.24 to 2.2.25
No description provided.