playbackrate
playbackRate switching plug-in。SourceCode
pluginName: playbackrate
pc effect ![](https://lf3-static.bytednsdoc.com/obj/eden-cn/nupenuvpxnuvo/xgplayer_doc/playbackrate_p.png)
![](https://lf3-static.bytednsdoc.com/obj/eden-cn/nupenuvpxnuvo/xgplayer_doc/playbackrate_p.png)
mobile effect![](https://lf3-static.bytednsdoc.com/obj/eden-cn/nupenuvpxnuvo/xgplayer_doc/playbackrate_m.png)
![](https://lf3-static.bytednsdoc.com/obj/eden-cn/nupenuvpxnuvo/xgplayer_doc/playbackrate_m.png)
config
position
@type
:String
default
:POSITIONS.ROOT_RIGHT
For specific enumeration values, please see plugin-positions
index
@type
:Number
default
:0
hidePortrait
@type
:Boolean
default
:false
Whether to hide in portrait mode, this configuration only takes effect on the mobile terminal
list
@type
:Array
default
:[2, 1.5, 1, 0.75, 0.5]
Switchable speed list