Replies: 1 comment
-
WITH PLAYLIST PLUGINplayer.on(['previous', 'next'], ({ type }) => {
player.context.playlist[type]()
}) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
step 1
add pre or next icon
setup 2
listen event
preview
https://github.com/upvorg/web2/blob/07d3a104f35ba41c89d955da335ed880aa221c3d/packages/index/src/pages/player/index.tsx#L216
https://github.com/upvorg/upvorg.github.io/blob/07d3a104f35ba41c89d955da335ed880aa221c3d/packages/shared/components/player/OPlayer.tsx
Beta Was this translation helpful? Give feedback.
All reactions