gm-mediaplayer
gm-mediaplayer copied to clipboard
Add support for other streaming services?
Hey i was wondering if its possible to implant Hitbox and Beam into the media player?
If not don't then it's not a big issue, i thought it would be good for people who do other services then twitch and youtube. :smile:
Here are some API links: https://developer.beam.pro/ http://developers.hitbox.tv/ https://hitakashi.github.io/Hitbox-API/
It's likely possible if the service has an API for getting video/stream metadata and a web video player capable of being controlled using JavaScript. However, I'd rather not implement every service myself, so I'm open to anyone submitting pull requests. It can also be hard to justify adding support for additional services when over 90% of all requests are for YouTube videos according to my analytics data from the Cinema gamemode.
I was going to give it a shot implanting hitbox, but then i realized, i suck at lua. xD I'll give it a another look sometime later.
I'm pretty sure Beam and Hitbox won't work well with how outdated Awesomium is without using Flash.