It is possible to play/stop a youtube video(inside a web browser like FireFox), using external software(C#)?
I would assume this is not allowed by the YouTube Terms of Service, but I'm not sure. In any case, if this is more of a pet project or proof of concept here are some thoughts:
Once you have found the screen position, you only need to do the mouse click subsequent times. I like the above approach because you can more easily port it to other video sites if you need to - rather than relying on APIs.
I'm also curious why you want to do this. Could you let us in on your thoughts?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With