Piwigo / piwigo-videojs

Videojs port for piwigo. Play your videos on your web gallery!
http://piwigo.org/ext/extension_view.php?eid=610
GNU General Public License v3.0
64 stars 45 forks source link

Choose resolution #70

Open fabrigo opened 8 years ago

fabrigo commented 8 years ago

Hello In a first time, I would like to apologize for my english, I am a french user. I would like to know if it will be possible to add the plugin : videojs-resolution-switcher (https://www.npmjs.com/package/videojs-resolution-switcher) inside piwigo-videojs. Effectively, I don't want to depreciate the quality of my videos because someone could have a small bitrate and I don't want to read jerky videos. I would like to have a button with resolutions choice like youtube player. I thought it will be possible to upload several video files with different resolutions like we done in old versions of Piwigo (< 2.4) with a prefix before the name of pictures. For exemple HIGH-video.mp4, MEDIUM-video.mp4, LOW-video.mp4 in the same directory and also pwg-representative sub directory.

best regards

fabrigo

xbgmsharp commented 8 years ago

It is possible. I will look into it. Someone push the code via #30 Need to be rewrote, as it can't be integrated anymore.

fabrigo commented 8 years ago

thanks for your quick answer

jessie-github commented 8 years ago

Better then would be to automatically select the best resolution for the available bandwidth. With dash.js for instance: https://github.com/Dash-Industry-Forum/dash.js/wiki