1
0
Fork 0

Add more playback speed (0.75 and 1.25)

Those speeds are much more closer to the normal speed. They are useful for listening to human speeches.
This commit is contained in:
Glandos 2018-08-31 17:10:01 +02:00 committed by Chocobozzz
parent 7f5f4152a4
commit 4ccb6c0830
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ function getVideojsOptions (options: {
poster: options.poster,
autoplay: false,
inactivityTimeout: options.inactivityTimeout,
playbackRates: [ 0.5, 1, 1.5, 2 ],
playbackRates: [ 0.5, 0.75, 1, 1.25, 1.5, 2 ],
plugins: {
peertube: {
autoplay: options.autoplay, // Use peertube plugin autoplay because we get the file by webtorrent