Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hopefully the Video control could add the video_src attribute #4635

Open
1 task done
SF-AD opened this issue Dec 28, 2024 · 0 comments
Open
1 task done

Hopefully the Video control could add the video_src attribute #4635

SF-AD opened this issue Dec 28, 2024 · 0 comments

Comments

@SF-AD
Copy link

SF-AD commented Dec 28, 2024

Duplicate Check

Describe the requested feature

I've been having a rough time with the video controls lately. My video playback links are all temporary, time-limited, and if loaded into the playlist at one time, in case the user pauses on a video for a long time, the temporary playback link in the list may not be playable. Although there are playlist_add (media) and playlist_remove (media_index) methods, you can't specify a place in the list for playback links (they can only be added sequentially). Users can only jump back and forth between the video objects already in the playlist, which is undoubtedly disastrous for temporary video links. If the user plays which video to put in the list only which temporary video link is put into the list, then when the user does not watch in order, the order of the objects in the list does not match.

Suggest a solution

If you could add a video link (video_src) attribute to specify the playback link in real time, instead of going through the playlist, and it can be rewritten, it seems like a good solution to this problem?
I don't have a better solution for some other details (e.g. how to determine if the internal controls of the previous episode and the next episode are displayed if the playback link is specified by the video_src...)

Artplayer
There is an excellent player here, some properties and methods of the Video control, you can refer to this player. o( ̄▽ ̄)ブ

Screenshots

No response

Additional details

No response

@SF-AD SF-AD changed the title Hopefully the video controls could add the src attribute Hopefully the video controls could add the video_src attribute Dec 28, 2024
@SF-AD SF-AD changed the title Hopefully the video controls could add the video_src attribute Hopefully the Video control could add the video_src attribute Dec 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant