Showing
4 changed files
with
8 additions
and
8 deletions
| ... | @@ -99,8 +99,8 @@ export default { | ... | @@ -99,8 +99,8 @@ export default { |
| 99 | container: '#mui-player-' + this.item.id, | 99 | container: '#mui-player-' + this.item.id, |
| 100 | title: this.item.title, | 100 | title: this.item.title, |
| 101 | src: this.item.video, | 101 | src: this.item.video, |
| 102 | - // poster: this.item.cover, | 102 | + poster: this.item.cover ? this.item.cover : DEFAULT_COVER, |
| 103 | - poster: DEFAULT_COVER, | 103 | + // poster: DEFAULT_COVER, |
| 104 | autoFit: false, | 104 | autoFit: false, |
| 105 | videoAttribute: [ // 声明启用同层播放, 不让会自动全屏播放 | 105 | videoAttribute: [ // 声明启用同层播放, 不让会自动全屏播放 |
| 106 | { attrKey: 'webkit-playsinline', attrValue: 'webkit-playsinline' }, | 106 | { attrKey: 'webkit-playsinline', attrValue: 'webkit-playsinline' }, | ... | ... |
| ... | @@ -212,8 +212,8 @@ export default { | ... | @@ -212,8 +212,8 @@ export default { |
| 212 | container: '#mui-player-' + this.item.id, | 212 | container: '#mui-player-' + this.item.id, |
| 213 | title: this.item.title, | 213 | title: this.item.title, |
| 214 | src: this.item.video, | 214 | src: this.item.video, |
| 215 | - // poster: this.item.cover, | 215 | + poster: this.item.cover ? this.item.cover : DEFAULT_COVER, |
| 216 | - poster: DEFAULT_COVER, | 216 | + // poster: DEFAULT_COVER, |
| 217 | autoFit: false, | 217 | autoFit: false, |
| 218 | videoAttribute: [ // 声明启用同层播放, 不让会自动全屏播放 | 218 | videoAttribute: [ // 声明启用同层播放, 不让会自动全屏播放 |
| 219 | { attrKey: 'webkit-playsinline', attrValue: 'webkit-playsinline' }, | 219 | { attrKey: 'webkit-playsinline', attrValue: 'webkit-playsinline' }, | ... | ... |
| ... | @@ -91,8 +91,8 @@ onMounted(() => { | ... | @@ -91,8 +91,8 @@ onMounted(() => { |
| 91 | container: '#mui-player-' + props.item.id, | 91 | container: '#mui-player-' + props.item.id, |
| 92 | title: props.item.title, | 92 | title: props.item.title, |
| 93 | src: props.item.video, | 93 | src: props.item.video, |
| 94 | - // poster: props.item.cover, | 94 | + poster: props.item.cover ? props.item.cover : DEFAULT_COVER, |
| 95 | - poster: DEFAULT_COVER, | 95 | + // poster: DEFAULT_COVER, |
| 96 | autoFit: false, | 96 | autoFit: false, |
| 97 | videoAttribute: [ // 声明启用同层播放, 不让会自动全屏播放 | 97 | videoAttribute: [ // 声明启用同层播放, 不让会自动全屏播放 |
| 98 | { attrKey: 'webkit-playsinline', attrValue: 'webkit-playsinline' }, | 98 | { attrKey: 'webkit-playsinline', attrValue: 'webkit-playsinline' }, | ... | ... |
| ... | @@ -71,8 +71,8 @@ export default { | ... | @@ -71,8 +71,8 @@ export default { |
| 71 | container: '#mui-player-' + this.item.id, | 71 | container: '#mui-player-' + this.item.id, |
| 72 | title: this.item.title, | 72 | title: this.item.title, |
| 73 | src: this.item.video, | 73 | src: this.item.video, |
| 74 | - // poster: this.item.cover, | 74 | + poster: this.item.cover ? this.item.cover : DEFAULT_COVER, |
| 75 | - poster: DEFAULT_COVER, | 75 | + // poster: DEFAULT_COVER, |
| 76 | autoFit: false, | 76 | autoFit: false, |
| 77 | videoAttribute: [ // 声明启用同层播放, 不让会自动全屏播放 | 77 | videoAttribute: [ // 声明启用同层播放, 不让会自动全屏播放 |
| 78 | {attrKey:'webkit-playsinline',attrValue:'webkit-playsinline'}, | 78 | {attrKey:'webkit-playsinline',attrValue:'webkit-playsinline'}, | ... | ... |
-
Please register or login to post a comment