gm-mediaplayer icon indicating copy to clipboard operation
gm-mediaplayer copied to clipboard

Add support for other streaming services?

Open 100chilly opened this issue 9 years ago • 3 comments

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/

100chilly avatar Nov 26 '15 14:11 100chilly

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.

samuelmaddock avatar Nov 26 '15 14:11 samuelmaddock

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.

100chilly avatar Nov 26 '15 15:11 100chilly

I'm pretty sure Beam and Hitbox won't work well with how outdated Awesomium is without using Flash.

Cynosphere avatar Feb 21 '16 16:02 Cynosphere