+ 'A network error caused the media download to fail part-way.': '网络错误导致视频下载中途失败。',
+ 'The media could not be loaded, either because the server or network failed or because the format is not supported.': '视频因格式不支持或者服务器或网络的问题无法加载。',
+ 'The media playback was aborted due to a corruption problem or because the media used features your browser did not support.': '由于视频文件损坏或是该视频使用了你的浏览器不支持的功能,播放终止。',
+ 'No compatible source was found for this media.': '无法找到此视频兼容的源。',
+ 'The media is encrypted and we do not have the keys to decrypt it.': '视频已加密,无法解密。',
+ 'Play Video': '播放视频',
+ 'Close': '关闭',
+ 'Modal Window': '弹窗',
+ 'This is a modal window': '这是一个弹窗',
+ 'This modal can be closed by pressing the Escape key or activating the close button.': '可以按ESC按键或启用关闭按钮来关闭此弹窗。',
+ var stButton = player.controlBar.addChild(button);
+ stButton.addClass('vjs-icon-hand');
+ },
+ dialogOpen() {
+
+ console.log(this);
+ let ModalDialog = videojs.getComponent('ModalDialog');
+ /*content Mixed <optional> Provide customized content for this modal.
+ description string <optional> A text description for the modal, primarily for accessibility.
+ fillAlways boolean <optional> false Normally, modals are automatically filled only the first time they open. This tells the modal to refresh its content every time it opens.
+ label string <optional> A text label for the modal, primarily for accessibility.
+ pauseOnOpen boolean <optional> true If true, playback will will be paused if playing when the modal opens, and resumed when it closes.
+ temporary boolean <optional> true If true, the modal can only be opened once; it will be disposed as soon as it's closed.
+ uncloseable boolean <optional> false If true, the user will not be able to close the modal through the UI in the normal ways. Programmatic closing is still possible.*/