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

Skip to next video #1220

Open
efb4f5ff-1298-471a-8973-3d47447115dc opened this issue Apr 21, 2021 · 5 comments
Open

Skip to next video #1220

efb4f5ff-1298-471a-8973-3d47447115dc opened this issue Apr 21, 2021 · 5 comments
Labels
enhancement New feature or request player-related Player-related changes are currently on hold due to the ongoing player migration.

Comments

@efb4f5ff-1298-471a-8973-3d47447115dc
Copy link
Member

efb4f5ff-1298-471a-8973-3d47447115dc commented Apr 21, 2021

Is your feature request related to a usage problem (not a bug)? Please describe.
Youtube / Freetube often get used as a music player. If a song comes up and u already listened to or u don't like it u can just press the button and skip to the next video.

Describe the solution you'd like to see implemented
Integrate this feature into the player and also into PIP.
If u are watching videos in a playlist this button should skip to the next video in the list.

This icon can be used for implementing it into the player.
https://fontawesome.com/icons/step-forward?style=solid

Place the icon in the exact same position as seen in the screen.
Place the icon in PIP on the right of play button.

It would be nice to have some kind of preview when u hover over the button. See second screenshot.

If #397 is implemented u also need to check if the video ur trying to skip to is already been watched or not.
While autoplay is enabled and the video ur skipping to is already been watched then skip the video.

Screenshots
FT #397

Screenshot (201)

@KSterner2
Copy link

Hello there!
I've been trying to work on this feature but I have some questions. It's still a work in progress but as of right now this is what I have for the function. The toggleNextVideo() function works but I can't grab the next video within the playlist.

Screenshot 2023-11-14 at 1 17 38 PM Screenshot 2023-11-14 at 1 17 58 PM

Here's what shows in the console for issues as well.
Screenshot 2023-11-14 at 1 32 41 PM

Heres what it looks like in FT:
Screenshot 2023-11-14 at 1 48 46 PM

@kommunarr
Copy link
Collaborator

Hi @KSterner2, I think you should be able to play the next video in a playlist by invoking the this.$refs.watchVideoPlaylist.playNextVideo() function.

@KSterner2
Copy link

Thanks @jasonhenriquez ! I will add this and see what happens next.

@kommunarr
Copy link
Collaborator

Hi @KSterner2, we are currently going to be suspending changes on the video player for the time being while we are working on a larger overhaul of the feature. Thank you for your help and enthusiasm, and please take a look at any other open issues that you would like to contribute to. Thank you!

@kommunarr kommunarr added the player-related Player-related changes are currently on hold due to the ongoing player migration. label Apr 17, 2024
@kommunarr
Copy link
Collaborator

Hi @KSterner2, the video player changes are now complete if you still want to work on this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request player-related Player-related changes are currently on hold due to the ongoing player migration.
Projects
Status: Low Priority
Development

No branches or pull requests

3 participants