FreeTube icon indicating copy to clipboard operation
FreeTube copied to clipboard

Skip to next video

Open efb4f5ff-1298-471a-8973-3d47447115dc opened this issue 4 years ago • 5 comments

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)

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

KSterner2 avatar Nov 14 '23 20:11 KSterner2

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

kommunarr avatar Nov 26 '23 14:11 kommunarr

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

KSterner2 avatar Nov 28 '23 20:11 KSterner2

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 avatar Nov 28 '23 23:11 kommunarr

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

kommunarr avatar Oct 15 '24 11:10 kommunarr

@caetano-dev would you be interested in addressing this?

I added an implementation of this feature as a PR in #8285

lukasstorck avatar Nov 15 '25 11:11 lukasstorck