mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
Update Video Speed
Add additional Options (2.5x and 3x)
This commit is contained in:
parent
ee4d1dedc5
commit
9203eb6ed2
1 changed files with 4 additions and 2 deletions
|
@ -516,10 +516,12 @@ open class FullScreenPlayer : AbstractPlayerFragment() {
|
||||||
"1.4x",
|
"1.4x",
|
||||||
"1.5x",
|
"1.5x",
|
||||||
"1.75x",
|
"1.75x",
|
||||||
"2x"
|
"2x",
|
||||||
|
"2.5x",
|
||||||
|
"3x"
|
||||||
)
|
)
|
||||||
val speedsNumbers =
|
val speedsNumbers =
|
||||||
listOf(0.5f, 0.75f, 0.85f, 1f, 1.15f, 1.25f, 1.4f, 1.5f, 1.75f, 2f)
|
listOf(0.5f, 0.75f, 0.85f, 1f, 1.15f, 1.25f, 1.4f, 1.5f, 1.75f, 2f, 2.5f, 3f)
|
||||||
val speedIndex = speedsNumbers.indexOf(player.getPlaybackSpeed())
|
val speedIndex = speedsNumbers.indexOf(player.getPlaybackSpeed())
|
||||||
|
|
||||||
activity?.let { act ->
|
activity?.let { act ->
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue