nextcloud / files_videoplayer

:vhs: Old video viewer for Nextcloud
91 stars 37 forks source link

Feature Request: Select video quality #189

Open SimplyCorbett opened 4 years ago

SimplyCorbett commented 4 years ago

I would like to purpose the ability to select video quality on the player.

This feature has been requested in the past but mine is a little different.

Instead of having nextcloud transcode the videos, allow the user to upload different quality videos and set the player to start playing the lowest quality video with the option to increase quality like on youtube.

For example:

File.mp4 with no additional options would just play that video with no quality settings. File_480.mp4 and File_720.mp4 would default to the 480p file and allow the option for 720p. File_480.mp4, File_720.mp4, File_1080p.mp4, File_1440.mp4 and File_2160.mp4 would all be quality options in the video player.

I haven't looked at the code but it should be a simple if and elseif function.

SimplyCorbett commented 4 years ago

It's occurred to me that syncing the video playtime might be an issue, so perhaps present the option before playing the video.