samuelmaddock / gm-mediaplayer

:tv: Garry's Mod media player which features synchronized streaming media services
MIT License
49 stars 29 forks source link

Add support for other streaming services? #8

Open 100chilly opened 8 years ago

100chilly commented 8 years ago

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/

samuelmaddock commented 8 years ago

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.

100chilly commented 8 years ago

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.

Cynosphere commented 8 years ago

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