|
@@ -77,13 +77,10 @@ export default defineComponent({
|
|
|
// 'download ' , // 显示一个下载按钮,其中包含指向当前源或您在选项中指定的自定义 URL 的链接
|
|
|
// 'fullscreen' , // 切换全屏
|
|
|
// ] ;
|
|
|
- const controls = [
|
|
|
- 'play-large',
|
|
|
- 'play',
|
|
|
- 'progress',
|
|
|
- 'captions',
|
|
|
- 'fullscreen'
|
|
|
- ];
|
|
|
+ const controls = ['play-large', 'play', 'progress', 'captions'];
|
|
|
+ if (browser().isApp) {
|
|
|
+ controls.push('fullscreen');
|
|
|
+ }
|
|
|
if (this.currentTime) {
|
|
|
controls.push('current-time');
|
|
|
}
|