Thanks for the awesome Safari extension.
I just noticed this morning that a relatively large number of Youtube videos are failing with an HTTP 403 after they're converted to HTML5 video. These videos work in Flash mode. I'm currently using Safari 7.1.4 (95184.108.40.206), with all other extensions disabled.
Here's a video that's failing: https://www.youtube.com/watch?v=8wlGgzpDsPM
Here's one that's working: https://www.youtube.com/watch?v=Xj6oI-QkJYg
Here's a quick screenshot of what the failure looks like:
It's entirely possible that this is a temporary issue on Google's side, but I figured I'd file an issue just in case something changed/broke permanently.
Thanks for the report. It just started happening for me as well. Could you try replacing the built-in killer with the following?
Another example, 403 error also:
I'll give the new killer a try; edit: yep that fixes it.
OK, thanks for checking. This might only be a temporary fix but at least I understand the source of the problem now.
The fix worked for me too. A quick patch and xar/openssl re-sign and it's working again. Thanks!
I'm having this issue as well.
This is fixed for now.
Broken again, will fix.
Can use https://raw.githubusercontent.com/hoyois/plugin-to-html5/master/YouTubeS.js in the meantime.
I'm still getting a 403 from https://www.youtube.com/watch?v=8wlGgzpDsPM using the updated YouTubeS.js; here's the address it's trying to pull:
Did you close the preference window after changing the URL?
Yeah, I uninstalled the extension, reset Safari, overwrote Youtube.js with YoutubeS.js, rebuilt a new safariextz, and installed it. I'll try one more time over lunch just to make sure I didn't hose something up.
Hold on, there's no need to rebuild the extension every time. You can just put the URL in the list of conversion scripts in the preferences.
I'll try it with the URL. Honestly, I only rebuilt it because I wanted to figure out how to do the signing manually with xar/openssl. Masochism, I guess.
Unfortunately still no-go dropping https://raw.githubusercontent.com/hoyois/plugin-to-html5/master/YouTubeS.js in to the killer list and closing the preferences tab. I tried both replacing the existing killers/Youtube.js line with it, and (for no apparent reason) adding it in addition to the default killers/Youtube.js.
Not sure if this is helpful or even related, but I also seem to get the Flash placeholder the first time I load https://www.youtube.com/watch?v=8wlGgzpDsPM after changing the killers list. A reload fixes it. Not a big deal, but I figured it was worth mentioning.
Thanks again for looking at this stuff.
@browndav Might be it's related, yes. The latter is not supposed to happen either. Since you've compiled the extension, can you check the value of killers.YouTube.decoder in the extension's global page?
I'm also experiencing this - it looks like the videos that don't work are almost exclusively music videos, so I assume it's some flag the content owners are setting.
@electric-monk The source of the problem is well understood: it's signature encryption. But I need to figure put why YouTubeS.js is not working for some. Does it work for you?
YouTubeS.js works for me on a video I had problems on earlier, HGawnVcpzB4 and the above 8wlGgzpDsPM, both of which are broken with the built in killer.
Ooh yeah, it's working now, thanks!
Not working with any Vevo videos whatsoever at this point. https://www.youtube.com/results?search_query=vevo ----- edit ----- ok, quite a few other videos not working aside from Vevo as well and also froze safari when I attempted to download video after trying and failing to play a video --- it seems youtube is killing this great extension
Hopefully this is fixed for everyone in CTP 3.1.2. Please reopen if not.
Working for me now with 3.1.2. Thanks again!