Inspecting data packets to initiate an action
Inspecting data packets to initiate an action
You can mimic the packets without directly sending commands by using tools like Wireshark to capture and replay them.
It could be a bit more complex because you're dealing with online material. It would be simpler to issue a request to the browser asking it to continue the video.