Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

YouTube device support message #44

Open
racafe opened this issue Apr 20, 2015 · 15 comments
Open

YouTube device support message #44

racafe opened this issue Apr 20, 2015 · 15 comments

Comments

@racafe
Copy link

racafe commented Apr 20, 2015

It appears that YouTube is upgrading to a new version which is not going to be supported with this plugin, does anyone know how to solve this?

youtube

@HeathNaylor
Copy link

This is not accurate, I just configured this plugin today with no issues at all, can you post a gist of your code? Seems like something in your options is off.

@racafe
Copy link
Author

racafe commented Apr 21, 2015

@HeathNaylor I actually put the screenshot from the demo: http://jakiestfu.github.io/Youtube-TV/demos/default.html

Check it out, it works but it preppends to the list a message that is not going to be supported with the new version of YouTube API.

@HeathNaylor
Copy link

Interesting, mine is working in a production website right now, I specified a string for the playlist id.

@beweinreich
Copy link

I'm getting same thing on production website.

Looks like YouTube decided to phase out v2 of their API today. See here: http://youtube-eng.blogspot.com/2014/03/committing-to-youtube-data-api-v3_4.html

@fnezrick
Copy link

yes im seeing this too... it is even prepending on the demos on github: http://jakiestfu.github.io/Youtube-TV/demos/default.html

Does anyone have a fix for this? or is it time to move to a new plugin? Thanks!

@beweinreich
Copy link

There's no quick fix. The code would have to be updated to use the V3 API.

I might have some time this weekend to submit a pull request, but if there are any brave JavaScript developers who want to tackle it first... Do it!

@bradleywest92
Copy link

Hi guys, did you produce a fix for this at all?

@HeathNaylor
Copy link

I would just like to point out that mine is still fine in production, I am using the playlist option.

@bradleywest92
Copy link

Is that without the other video coming first Heath? If so would love to see your one in action if you didn't mind?

@lilithebowman
Copy link

I did a 10-second fix to our production website with the same issue by editing the iframe in-browser. (For our case the settings were all the defaults anyway.)

Removing all of the settings and just putting youtube.com/embed/--insert your id here-- worked.

Not sure what to do about the settings other than update them to v3 format as well (if they're supported).

[edit] Sorry, looks like I misunderstood the scope of this tool and where the error lies. Yes, updating this to the v3 API will be involved. I'm trying to figure it out right now.

The way this plugin works would have to change. Each user would have to add their application at the Google Developer's Console: https://console.developers.google.com/project

Then we could update this JS to interface with the new API like so: https://developers.google.com/youtube/v3/code_samples/javascript#my_uploaded_videos

@mrstork
Copy link

mrstork commented Apr 30, 2015

Try this fork https://github.com/Giorgio003/Youtube-TV
It uses the v3 api so you will need to enter your google developer key, but solves the issue

@HeathNaylor
Copy link

We have too many forks. @jakiestfu can we get a commitment from you that your branch will be updated and considered best?

@Giorgio003
Copy link

Chiming in here, I did managed to tackle API V3 a few weeks ago which does require an API Key to use. However you can obtain one for free (https://developers.google.com/youtube/v3/getting-started) which gives a generous 50 million token requests per day.
Should be plenty for most projects however I look to optimize this further by removing some unused variables within Youtube-TV, and possibly introduce some caching to prevent some repeated token requests on previous data.
Apart from my changes to documentation, responsiveness, additional 'light' theme, etc. There is still some other issues I wish to attend to before pushing; Cleaning up the code by optimizing and removing unused code (ie. loadAds function is never used as the ads integrated into the Youtube player).
I was going to mention the visible key however referrers seem to be working again for browser applications key allowing you to limit by domain or IP preventing any external use.
As @HeathNaylor mentioned too many forks can get confusing overtime, I can PR into @jakiestfu 's repo if he's interested, or if not I created a reference markdown while I was converting from APIv2 to APIv3 (APIv2-3_Reference.md it might miss some last minute tweaks but it contains all the variable and url name changes). Either way I have enabled the issue tracker on my fork in case anyone comes across bugs that need to be squashed.

@stevebrush
Copy link

Thanks so much Giorgio003! Your work saved me many hours.

@bachors
Copy link

bachors commented May 11, 2015

I've changed to v3 http://ibacor.com/download/demo/youtube-channels/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants