Commit 852c3b1e5ada2b305d2c44b7ec7d066a4292c701
1 parent
be2ec4aa
perf(external/Composes): 修复如果视频类型是mp4缩略图显示不出来的问题
Showing
1 changed file
with
3 additions
and
1 deletions
1 | 1 | <template> |
2 | 2 | <div class="go-content-box" :style="{ width: w + 'px', height: h + 'px' }"> |
3 | - <video :id="`my-player${index}`" ref="videoRef" class="video-js my-video vjs-theme-city vjs-big-play-centered"> | |
3 | + <video | |
4 | + crossOrigin="anonymous" | |
5 | + :id="`my-player${index}`" ref="videoRef" class="video-js my-video vjs-theme-city vjs-big-play-centered"> | |
4 | 6 | <source :src="sourceSrc" /> |
5 | 7 | </video> |
6 | 8 | </div> | ... | ... |