Peertube: Add preview thumbnail in video progress bar

Created on 5 May 2018  路  5Comments  路  Source: Chocobozzz/PeerTube

Youtube offers a way to preview the frames when hovering the progress bar. This is very convenient when you want to go directly to a certain moment of a video or to watch it again.

image

Unfortunately there doesn't seem to be maintained and convenient plugins for videojs (I saw this one or this another one).

It seems that it is not that difficult. We could use canvas for that: https://jsfiddle.net/epistemex/gdp00x2s/

Also definetely worth to implement it as a plugin.

What do you think?
Florent

Component Type

Most helpful comment

I think it could be suitable in the core PeerTube. I don't think we should use federation for these "progress thumbnails", but a cache as we do with previews.

All 5 comments

I think it could be suitable in the core PeerTube. I don't think we should use federation for these "progress thumbnails", but a cache as we do with previews.

I would really like this feature to be added. There would be non js-alternatives to this, like ffmpeg sampling the video at different times on initial thumbnail selection. The problem with how it is in the stable version right now is that the random thumbnail selection often chooses an image which does not represent the video at all.

Timelens is a tool for creating visual timelines. It is used on https://media.ccc.de/.

There are also plugins for JavaScript players: https://timelens.io/plugins/

Screenshot from 2020-08-04 08-52-16

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ChameleonScales picture ChameleonScales  路  3Comments

roipoussiere picture roipoussiere  路  3Comments

filmaidykai picture filmaidykai  路  3Comments

gegeweb picture gegeweb  路  3Comments

zilti picture zilti  路  3Comments