Add setSubtitleTrack
command
This commit is contained in:
parent
e166b9d789
commit
40e8a2c901
@ -142,6 +142,15 @@ class Command extends PlayerConnectionEvent {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
factory Command.setSubtitleTrack(int? track) {
|
||||||
|
return Command(
|
||||||
|
type: 'set_subtitle_track',
|
||||||
|
value: {
|
||||||
|
'track': track,
|
||||||
|
},
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
factory Command.setLooping(bool value) {
|
factory Command.setLooping(bool value) {
|
||||||
return Command(
|
return Command(
|
||||||
type: 'set_looping',
|
type: 'set_looping',
|
||||||
|
Loading…
Reference in New Issue
Block a user