Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
shiyiya committed Aug 10, 2024
1 parent d16437b commit 744856e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/index/src/mock/recommends.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
},
{
"ID": "131478f2-31cd-446a-9cb2-15158b8c3efe",
"Cover": "https://static.xiaobaotv.app/upload/vod/20230812-7/08abde10fb590cb7a99c4e8818be3b95.jpg",
"Cover": "https://pic.cyol.com/img/20220307/img_96d0b6d39b4fb401a5b9ad295ef957fdbd_c.jpg",
"Title": "花束般的恋爱",
"Content": "",
"Tags": "其他",
Expand Down
4 changes: 4 additions & 0 deletions packages/shared/components/player/OPlayer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,10 @@ const OPlayer = React.forwardRef(({ playerIsPlaying, duration, onEvent, autoplay
],

errorBuilder(e, _, builder) {
if (_ref.current?.options.source.title == '花束般的恋爱') {
builder({ message: '愿你有一天,能与你最重要的人重逢' })
return
}
const error = e as any
builder({
...e,
Expand Down

0 comments on commit 744856e

Please sign in to comment.