TraktRoller icon indicating copy to clipboard operation
TraktRoller copied to clipboard

What is needed to support YePpHa/crunchyroll-html5?

Open matheusfaustino opened this issue 6 years ago • 1 comments

Hi, first of all, thank you for work here. That is awesome. I really like using crunchyroll with the html5 plugin and I'd like to know how hard it would be and how you think it the right way to implement it?

matheusfaustino avatar Nov 29 '18 01:11 matheusfaustino

Crunchyroll's HTML5 player uses the PlayerJS standard to expose generic player controls and events to JavaScript and that's what I'm currently using.

Either crunchyroll-html5 could adopt PlayerJS, which would also improve compatibility with the official HTML5 player in embedded scenarios. Or TraktRoller would need a specific adapter for crunchyroll-html5, that in turn needs a way for external scripts to subscribe to its playback events, which I don't think is currently possible.

sttz avatar Dec 19 '18 18:12 sttz