cxfksword / MPVKit

mpv library for iOS, macOS, tvOS applications
GNU General Public License v3.0
71 stars 19 forks source link

Any idea how to get pause working ? #24

Closed BradLeftley closed 2 months ago

BradLeftley commented 2 months ago

For the video player how do I get pause working or being able to play the video at certain time.

Guessing for pause I need a function inside player would this send a specific command ?

Thanks for setting up this repo has helped very much!

cxfksword commented 2 months ago

You can send command or directly set the pause property:

command("set", args: ["pause", "yes"])