Skip to content

Commit

Permalink
fix: 修复视频组件链接失效
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoxian521 committed Oct 17, 2023
1 parent b93ebe7 commit b325442
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/views/components/video/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ onMounted(() => {
videoAttributes: {
crossOrigin: "anonymous"
},
url: "https://sf1-hscdn-tos.pstatp.com/obj/media-fe/xgplayer_doc_video/mp4/xgplayer-demo-720p.mp4",
url: "//lf3-static.bytednsdoc.com/obj/eden-cn/nupenuvpxnuvo/xgplayer_doc/xgplayer-demo.mp4",
poster:
"https://s2.pstatp.com/cdn/expire-1-M/byted-player-videos/1.0.0/poster.jpg",
"//lf9-cdn-tos.bytecdntp.com/cdn/expire-1-M/byted-player-videos/1.0.0/poster.jpg",
fluid: deviceDetection(),
//传入倍速可选数组
playbackRate: [0.5, 0.75, 1, 1.5, 2]
Expand Down

0 comments on commit b325442

Please sign in to comment.