FThompson/NetflixController

Xbox One A and X not working in Netflix main window.

Opened this issue · 2 comments

Great extension! I just tried it out, and thought it didn't work because X wasn't expanding items and A wasn't playing items. But I will say that the video controls all work as advertised! Great job.

I was also wanting to use this for pretty much all apps. I was working on a version that just did arrow presses and then enter, so it worked on most sites, but never got it working.

I'd be willing to pitch in and help on this, if you wanted. I'll look over the code, but maybe you can tell me how you send commands? Does it just know the links? Or is it sending keyboard commands? If it just knows the links, maybe it can use profiles for different websites. Or the user can teach it the links for all of the commands.

But either way, wanted to let you know that, for me at least, the main window for navigating doesn't work.

This issue has not been fixed in store extension v1.5 yet.
By modifying the following code. You can use the Play(A key) function.

onPress: () => this.clickHitzone('.bob-play-hitzone')

onPress: () => this.clickHitzone('.previewModal--player_container')

I can confirm that this worked. For anyone who hadn't done this sort of thing before (like myself before a few minutes ago), what you need to do is find the extension ID and make a copy of the extension found in your %USERPROFILE%\AppData\Local\Google\Chrome\User Data\Default\Extensions folder - the name should be kjgfkjidgcfgbabbhjephchohcghcdkf . Once you duplicate that folder elsewhere, edit the file above (for the current version, it's kjgfkjidgcfgbabbhjephchohcghcdkf\1.0.5_0\app\content\components\slider.js ) and make the change as per Liqianyu's comment above. I used the following top answer here to then make it so I could load the modified extension into Chrome: https://superuser.com/questions/848664/can-i-disable-chromes-extension-content-verification