110 points · by ComputerGuru · 17y ago · 56 comments
When I didn't find one I wrote this instead. It's really basic, but it gets the job done. Give it a YouTube link and it'll display the HTML5 video. The userscript adds a link to the HTML5 viewer for all video pages on YouTube.
They pull ideological bullshit like this all the time (not treating iso8859-1 as cp1252, refusing to do font-face for years, etc). I hope their heads fall off.
edit: Hey, there is http://neosmart.net/YouTube5/youtube5.user.js
I tried Firefox too and still no download. Activity Monitor shows no network activity that would be indicative of it downloading. I tried pressing play to get it started, still nothing.
The video that I was attempting to watch:
http://neosmart.net/YouTube5/index.php?url=http%3A%2F%2Fwww....
I'm looking into it.
EDIT: Found the problem. Need a couple of minutes though.
EDIT2: Should be working now. Local testing hadn't shown the IP restrictions in the YouTube link token, fixed now. Thanks for bringing this to my attention, Nathan.
javascript:(function(){url='http://deturl.com/download-video.js';document.body.appendChild(document.createElement('script')).src=url;})();
I've never had a problem using this.Try this link: http://neosmart.net/YouTube5/
"Block evil Adobe Flash"
Great, more ideologists.
a) It eats babies. (Seriously, look at how much CPU and RAM it eats.) b) It's insecure. Want a flaw that even users with a safe browser (ie not IE) are not safe against? Search for a Flash vulnerability. c) It sucks for handicapped people. Blind? Well your bad that you can only use a screen reader. No website for you. (This obviously doesn't matter for video sites). d) Cookies? Lame, if you really want to track your user (or whatever you call the people that watch your ads), even if he clears his browser cache, use Flash cookies. Want to open Popups? Too bad the user has a popup blocker. Oh wait, we can get around that with Flash. d) It's closed source, so many free software people don't want to run it.
You are right that Flash's accessibility support and the...lack of content providers taking advantage of them...sucks for all sorts of handicapped people, but it's still there and being improved on (hopefully) so it's not a total dead end for screenreaders. Plus, flash videos can be a good source for audio for the blind.
The problem is web standards and browsers are not great, either. Evil Adobe/Macromedia took advantage of this chaos and solved several problems quick and dirty while pushing one of the most proprietary technologies widely used.
And "the web" has to come back with real non-proprietary widely adopted solutions to all this things because most web designers are addicted.
One of the typical non-video problems: file uploading.
So Adobe and Flash are evil, a necessary evil. The OP coded something instead of just giving an opinion. Respect.
PS: I still don't understand how Microsoft, Netscape, Opera and Mozilla allowed this monster to exist.
I use Flash (Flex, actually) for my company's website and it works very well for us. Blanket-labelling it as evil is just silly. Flash is no more evil than a hammer.
Silverlight has the latter; HTML 5 will eventually attain a decent install base; but Flash has both now.
Must be viewed in Chrome Also show a video of their O3D technology, similar to WebGL.
fyi, the link works great in Safari.
This does highlight one problem with html5 based video, different browsers will interpret it differently no matter how hard standards are pushed. Flash video (FLV) saved us from that and all the horrible players like Real Media, Windows Media and Quicktime by being consistent and working across all browser as long as you have the plugin.
Don't know why it's taking it down so badly, MySQL has been acting up for the past fortnight :S
EDIT: Just swapped services (from Apache to IIS) and it looks like everything's doing better.
I not only could not get Firefox (3.5.5), IE7, or Safari to work with your HTML5 YouTube app, but I could not get YouTube's app to work either; I hope this fact mitigates your worries.
Tested as well on Chrome for Windows. Of course, Internet Explorer doesn't work.
EDIT: Sorry, guess that's the effect of an all-nighter. It actually doesn't load in Firefox for me, either.
What makes me think companies with the concerns outlined by the OP would not consider HTML5? It would be much more difficult to control their content. Flash is great as a hard to penetrate content container. Exposing your content by using HTML + JS to display it is less than ideal if you want to serve ads/make it difficult to steal content.