jansmolders86 / mediacenterjs

A HTML/CSS/Javascript (NodeJS) based Media center
http://mediacenterjs.com
1.29k stars 243 forks source link

Error on YouTube app #198

Closed matita closed 8 years ago

matita commented 9 years ago

On a fresh installation, when I access the YouTube app I can only see a white page with an arrow to go back to the home page. The console logs error: Error searching Youtube By inspecting the code it seems like the app expects the OAuth token to be initialized.

Possible solutions/to do could be:

matita commented 9 years ago

Possible solution could also be showing some generic videos and warning the user he/she is not logged in

jansmolders86 commented 9 years ago

There should be a prompt automatically but this might tie in with issue #199

lucienimmink commented 9 years ago

Are you using the new V3 YouTube API @jansmolders86 ? Google decided to drop support for V2 and lower so you might need to upgrade the code.

jansmolders86 commented 9 years ago

No I'm not Lucien, thanks for the tip! I'll check it out. How's life btw? :) feel free to write me an email or ping me on Hangouts to chat!

jansmolders86 commented 9 years ago

The Youtube app needs to be refactored so it only depends on the Youtube api and does not use any user specific details requiring Oauth v2.