Stories
Slash Boxes
Comments
typodupeerror delete not in

Comments: 372 +-   Tired of Flash? HTML5 Viewer For YouTube on Sunday November 08, @02:32PM

Posted by timothy on Sunday November 08, @02:32PM
from the that-taste-great-together dept.
media
linux
An anonymous reader writes "Instead of spending the next 10 years trying to find a Flash implementation for Linux or OS X that doesn't drain CPU cycles like there's no tomorrow, NeoSmart Technologies has made an HTML5 viewer for YouTube videos. It loads YouTube videos in an HTML5 video container and streams (with skip/skim/pause/resume) against an MP4 resource, and an (optional) userscript file can update YouTube pages with the HTML5 viewer. The latest versions of Firefox, Chrome, and Safari are supported. Personally, I can't wait until the major video sites default to HTML5 and we can finally say goodbye to Flash."
story

Related Stories

This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More
Loading... please wait.
  • Only video sites? (Score:5, Insightful)

    by Anonymous Coward on Sunday November 08, @02:35PM (#30024282)

    Yes, when video sites change, we can say goodbye to flash, because nobody uses Flash for navigation, casual online games, interactive information displays, or google maps street view...we have a long ways until we can say goodbye to Flash

    • by causality (777677) on Sunday November 08, @02:40PM (#30024312)

      Yes, when video sites change, we can say goodbye to flash, because nobody uses Flash for navigation, casual online games, interactive information displays, or google maps street view...we have a long ways until we can say goodbye to Flash

      If Flash goes back to being a niche application for only certain specific types of content that actually require its programming language, such as online games, that would be a tremendous improvement. The issue being addressed here is that Flash is a full-featured system that's being used just to play videos, when there are other non-proprietary ways to deal with content that only needs to play a video. Using an open standard when one is available and could do the job is definitely a step in the right direction even if we know it's not a panacea that can totally replace Flash in every possible scenario. It could even lead to other open systems being designed and implemented that can replace Flash in areas where its featureset is actually needed.

      • by buchner.johannes (1139593) on Sunday November 08, @03:32PM (#30024820) Homepage Journal

        You mention that Flash should be replaced by open video standards for video applications. However, I frequently find video and even more so video live streams to be very fragile when the browser uses the systems video player. I then often just download the video and play it externally, because the internal video player doesn't respond and I don't know why.

        Flash was introduced here because it just works.
        Come up with something that works for everyone. If you make it better than Flash (how?) websites will switch. And Flashs security issues and crashes in Linux will not bother them.

        • Re: (Score:3, Interesting)

          You mention that Flash should be replaced by open video standards for video applications. However, I frequently find video and even more so video live streams to be very fragile when the browser uses the systems video player. I then often just download the video and play it externally, because the internal video player doesn't respond and I don't know why.

          Flash was introduced here because it just works. Come up with something that works for everyone. If you make it better than Flash (how?) websites will switch. And Flashs security issues and crashes in Linux will not bother them.

          It hasn't been my own experience that embedded video is fragile in the browser, though I don't doubt what you are saying of your experience. Personally, I prefer to have the browser load such video in an external player that treats it like streaming media, though stability isn't my reason. I like having the full controls of the external player available and I like being able to easily resize the window that plays the video.

          Just curious, what OS, browser, and video player are you using? The way you des

          • by miknix (1047580) on Sunday November 08, @04:58PM (#30025540)

            View flash videos on VLC.

            Personally, I prefer to have the browser load such video in an external player that treats it like streaming media, though stability isn't my reason. I like having the full controls of the external player available and I like being able to easily resize the window that plays the video.

            Then you will love this. Let the flash video load and pause it at the beginning. Then fire up the terminal and type:

            vlc /tmp/Flash*

            It works with at least vimeo and youtube.

        • Re: (Score:3, Interesting)

          Flash was introduced here because it just works.

          Come up with something that works for everyone.

          Presumably you use Windows. Flash is a clusterfuck on Linux. If you want something that "works for everyone" then Flash isn't it.

          If you make it better than Flash (how?) websites will switch. And Flashs security issues and crashes in Linux will not bother them.

          As for the how, I would describe "better" as something that won't crash on Linux while still working on Windows. That would be better. Of course, Adobe won't just take that sitting down. If something better does come out, they will probably pay YouTube/Google/Vimeo/what-have-you to continue using Flash.

          Finally, I would argue that <video> and HTML5 are much better than F

          • Re:Only video sites? (Score:4, Interesting)

            by Firehed (942385) on Sunday November 08, @08:22PM (#30027428) Homepage

            Handily, you can embed multiple src files in a video element (hell, you can even embed a flash-based fallback by effectively wrapping the original embed tag in a video tag).

            It's not ideal and you shouldn't have to export multiple video types to get cross-browser compatibility, but then again I shouldn't have to hack around the plethora of IE bugs to make my sites usable in IE6/7. Given that the former is fixed with a tiny shell script and the latter takes hours of guesswork and dumb luck, I consider it tolerable enough until one side gives in. Obviously though, that's a lot more practical for sites with one or two videos so storage isn't much of a concern than creating two or three different versions of every video uploaded to Youtube/Vimeo/etc.

      • Re: (Score:3, Insightful)

        Before Flash Video came along, playing streaming video used to be a nightmare. Every site required a different plug-in and a different codec. And anyone remember the nightmare that was Real Player? Flash is popular because it works.

        In any case I think the chances of an html 5 video implementation that works on all five major browsers is pretty remote.

        • Re:Only video sites? (Score:4, Informative)

          by amn108 (1231606) on Sunday November 08, @03:39PM (#30024856)

          He was being sarcastic

        • Re: (Score:3, Insightful)

          Like other replies have stated, you completely misunderstood the post you replied to. However, what's worse is that the website in your signature is the epitome of what I and most other websurfers hate about flash. The layout is broken (it's a fixed-size rect in the middle of the page), there are no deep URLs into the "site", and the back button is broken because the the navigation is hidden in flash. Instead of posting polemic comments on slashdot, you should just accept that there are reasons why flash is
    • by mweather (1089505) on Sunday November 08, @02:41PM (#30024316)

      because nobody uses Flash for navigation

      Well, nobody with any sense, anyway.

      • Re:Only video sites? (Score:5, Informative)

        by gravos (912628) on Sunday November 08, @03:24PM (#30024722) Homepage
        Yep. Most of the advantages Flash previously had (animation, real client-side programming) for making rich navigation interfaces are now possible in a more open way with Javascript. The libraries are still a bit of a mess and browser support is always iffy, but dynamic, animated HTML looks amazing in the latest versions of webkit.
        • Re:Only video sites? (Score:5, Interesting)

          by Anonymous Coward on Sunday November 08, @03:39PM (#30024858)

          Modern flash is pretty much a rich graphics API wrapped around a cleaned up Javascript. It's a pretty nice language and environment, actually; but just inappropriately overused in many websites. I'm skeptical that html video extensions will replace it, because I don't think the html encoding will have nearly the versatility of a general purpose programming language. Will it be able to, for instance, stream recommended alternative videos or advertisements while the video is paused, for instance? It's not that I want that, but a lot of site owners do.

          Posting anonymously because slashdot's javascript is tweaking out, and not letting me log on right now. I get on, but it immediately forgets me.

          • Will it be able to, for instance, stream recommended alternative videos or advertisements while the video is paused, for instance? It's not that I want that, but a lot of site owners do.

            Sorry, but those site owners can fuck off. If I tell the browser (or component therein) that I want things to stop moving, stop making noise, and stop chewing up CPU cycles and running up my power bill, then I want them to STOP!

            Flash is particularly bad in this regard, and this (along with its limited platform availability and general flakiness) is why I'm not a fan of it. When I can get a working, robust flash player that pays attention to *me* more than to the bits coming over the internet, let me know.

    • by 1s44c (552956) on Sunday November 08, @02:47PM (#30024376)

      Yes, when video sites change, we can say goodbye to flash, because nobody uses Flash for navigation, casual online games, interactive information displays, or google maps street view...we have a long ways until we can say goodbye to Flash

      Flash is a security nightmare and anything that reduces the amount of flash in the world can only be a good thing. Flash badly needs to be replaced with a good open standard and wiped out. But if that's not going to happen the next best thing is to reduce the amount of flash in the world.

      Less of a bad thing is still an improvement.

      • by hedwards (940851) on Sunday November 08, @02:55PM (#30024438)
        Precisely, but more than that, most of the time flash is being used where there's a better standard in place and in places where it shouldn't have been used originally. Flash sites aren't ADA compliant without an unreasonable amount of extra work. Mainly unreasonable because if it had been properly done in some other format it wouldn't take much effort at all.

        Open is great, but really a secure, stable technology that's accessible to everybody is enough. Realistically that's probably open source.
    • because nobody uses Flash for [list of uses of flash]

      By way of anal extraction, I arrive at the conclusion that 90% of the eyeball wall time spent looking at flash is spent looking at videos.

      (89% of those 90% being youtube + google video, another 0.5% being redtube).

      Once we get to HTML5 video being popular, flash will become much more a niche thing. There's a long way between "niche" and "dead", but I don't know that we need to cross that gap. Heck, I still see Java applets around (for Rubik's Cube animations; I think that's one niche where they're used well).

      On the other hand, if we RTFS:

      The latest versions of Firefox, Chrome, and Safari are supported

      Note that IE is not on the list. Make an educated guess about the implications for the penetration of the video tag.

    • by Mad Merlin (837387) on Sunday November 08, @08:03PM (#30027266) Homepage

      Casual online games don't need Flash. Just look at Game! [wittyrpg.com] for example.

          • Re:Only video sites? (Score:4, Informative)

            by Darkness404 (1287218) on Sunday November 08, @04:02PM (#30025074)
            Because of a few reasons.

            A) The entire point of HTML and HTML5 video tags was to eliminate plugins
            B) Plugins are a -bad idea- for most people, for one even if your browser gets updated your plugins might not, leading gaping security flaws in addition to this, teaching people to install plugins is bad because a plugin could very well contain malware/viruses.
            C) A plugin can lead to reliance on the plugin and not spur development in the actual browser
            • Re: (Score:3, Insightful)

              Actually, it doesn't make the whole idea useless, because HTML5 is at least an open standard.

              And isn't that what Chrome Frame is for?

  • ClickToFlash (Score:5, Informative)

    by orta (786013) on Sunday November 08, @02:35PM (#30024284) Homepage Journal
    On OS X this has been available for ages, switchs all youtube videos to HTML5 and is extensible for other placse like Dailymotion. http://rentzsch.github.com/clicktoflash/ [github.com]
  • HTML5 video (Score:5, Insightful)

    by KangKong (937247) on Sunday November 08, @02:38PM (#30024294)
    The biggest problem isn't support for <video>, but common support for major video formats. Seems there's no codec supported by all browsers anytime soon.
      • Re:HTML5 video (Score:5, Insightful)

        by RiotingPacifist (1228016) on Sunday November 08, @03:00PM (#30024488)

        tbf do you want an inferior standard
        or do you want an open standard that you need to pay royalties to implement?

        It's not a simple problem (well IMO it is), but there is clearly a need for politics here, if you want to hate anything hate software patents.

        • Re: (Score:3, Insightful)

          do you want an inferior standard
          or do you want an open standard that you need to pay royalties to implement?

          I would rather have a superior open standard because if there is a standard, that is a goal to work to. But without the standard, it is an excuse to avoid implementation. After all, software patents aren't enforceable in all countries - some browsers would be able to implement everything without paying royalties, might even draw attention to how software patents suck.

          Meanwhile, we've gone years, probably decades now, with various flavors of the HTML and javascript standards that have almost never been 100

  • by asdf7890 (1518587) on Sunday November 08, @02:39PM (#30024306)
    I'm waiting for "HTML5VideoBlock" to go along with FlashBlock, because it won't take long for irritating adverts to start using the option. To be honest, I'm surprised it hasn't started already...
    • Just use a style sheet. In HTML5 the video tag is no different from any other tag.

      • Re: (Score:3, Interesting)

        No, one of the points of HTML5 is that it is controlled by the browser without plugins - the same way you've been able to choose to load images since almost forever...
        • Re: (Score:3, Informative)

          Also, and I may be wrong here to please correct me if I am, I was under the impression that some video/audio content delivered via the new HTML5 facilities would be presented without the need for any scripting support?

          You're correct, but NoScript doesn't block only scripts. It includes the option to block <video> content, and some other non-scripted annoyances.

        • Re: (Score:3, Informative)

          For my gf i configured noscript to allow all script as default, but to forbid java/flash//, so it essentially acts as flashblock but for java and too. And Yes, html5 video doen't require scripting, but NoScript can block them anyway.
  • Here's a hint (Score:3, Insightful)

    by Improv (2467) <pgunn@dachte.org> on Sunday November 08, @02:50PM (#30024406) Homepage Journal

    Anytime you submit a story and one of your sentences starts with "Personally,", leave it out. We don't care.

  • by Zantetsuken (935350) on Sunday November 08, @02:53PM (#30024424) Homepage
    Now will we be able to get hardware video acceleration through VDPAU, etc so that I can play it on my Zotac ION media center or low power laptop?
  • by MikeUW (999162) on Sunday November 08, @03:13PM (#30024604)

    I just tried it with FF 3.5.5 (on Linux), and got nothing but a non-working clone of the YouTube player. It's been the same story with YouTube's HTML5 demo [youtube.com] for some time as well.

    If it's a windows-only thing, or Chrome-only, then it's not good enough to replace Flash yet.

    • Re: (Score:3, Interesting)

      Same here, it didn't work. HTML5 videos work fine on other sites though.

    • by Homburg (213427) on Sunday November 08, @03:55PM (#30025024) Homepage

      No, it doesn't work on Firefox, as an update to the blog post points out. Youtube won't supply video in a format Firefox supports (and it only supports one - Theora). I believe there is work being done to allow Firefox to use other codecs if you have them installed (as Webkit does - it works for me using Epiphany), at which point this could potentially work on Firefox.

  • Impressive (Score:4, Informative)

    by skirmish666 (1287122) on Sunday November 08, @03:17PM (#30024648)
    Only uses ~8% CPU on safari vs ~30% for the same video through the safari flash plugin.
  • by MoFoQ (584566) on Sunday November 08, @04:10PM (#30025142)

    the page itself says that firefox doesn't support mp4 videos in HTML5 due to some license restrictions.

  • <Video> vs. <Embed> (Score:3, Interesting)

    by evilviper (135110) on Sunday November 08, @04:33PM (#30025316) Journal

    By all means, someone explain to me why the <Video> tag is in any way better than the <Embed> tag that's existed for 1.4.5 years now, and why it's going to rescue the world from Flash, which took over because people decided they didn't want to use <Embed> anymore...

    I'll just hold my breath...

  • agreed. (Score:3, Insightful)

    by Ralph Spoilsport (673134) on Sunday November 08, @05:31PM (#30025814) Journal
    Personally, I can't wait until the major video sites default to HTML5 and we can finally say goodbye to Flash."

    Same here. I hate Flash. It's pointless. Between AJAX, PHP, and CSS, there's very little Flash offers beyond video provision.

    Yes, Flash does animation. As long as it does animation, Fine. When they began expanding ActionScript because all the Lingo programmers needed a home, that's when it went off the rails, and that was a long time ago.

  • by CSMatt (1175471) on Sunday November 08, @06:15PM (#30026222)

    The way to view the video is to use an external site (NeoSmart's site to be precise) to find the MP4 on Google's servers and display it using the video tag. All the script does is add a link to the YouTube page that redirects you to NeoSmart's viewer.

    A far better solution would be something like YouTube Without Flash Auto [userscripts.org] or YouTube Perfect [userscripts.org], both of which (among other features) locate the MP4 client-side and present the video right in the YouTube page using whatever plugin you assigned to play MP4 files. If this can be pulled off without involving any external sites, I see no reason that a conversion to HTML5 video tags can't be done the same way.

    Disclaimer: using those scripts to view YouTube outside of the Flash player violates the ToS.

    • Re: (Score:3, Interesting)

      Yep, I recently discovered this myself. Unfortunately (as with this clever HTML5 hack), it only supports YouTube, so videos on other sites still require Flash.

    • by moosesocks (264553) on Sunday November 08, @03:13PM (#30024610) Homepage

      It's not so much the incompatibilities (although support for non x86-32 platforms has always been very poor on Linux), but the inefficiencies. There's *no* reason for a 320x240 web video to bring a modern system to its knees (GPU acceleration or not).

      Even VLC's somewhat buggy FLV implementation plays flash videos with 1/10 the CPU cycles that the flash player does.

      Flash's performance is borderline acceptable on Windows, although the mac version (PPC especially!) is appallingly bad.

          • Re: (Score:3, Insightful)

            I have encountered many, many people who think that anything running at HD resolutions is HD. Even in the geek community. And it seems very difficult to convince them otherwise. Many seem convinced that any video that is playing back at 1080 lines is utilising "full HD resolution", even if the source is a 360x240 video that's been maximised. Even Youtube's "720p" video is so compressed the artifacts are plainly visible, yet because it's 720 lines and is activated by clicking an "HD" button, pundits seem to

            • Re: (Score:3, Informative)

              They can also go out and spend $50 for a pair of rabbit-ears and look at an OTA (Over-the-Air) 1080 hi-def signal, and compare it to the crappy compressed signal their cable or satellite provider sends them.

              They should check, as you said, to make sure the original source was also hi-def and hasn't been up-scaled. As an example, try David Letterman on CBS - it's 1080i in many areas, and it looks SO different from older canned stuff, etc.

              Then there are all the people who bought HD TVs that can't do more

      • Re: (Score:3, Informative)

        You could try minitube [tordini.org], a native Youtube client. You don't even need to have the stupid Flash Player installed to use it, so it doesn't eat more CPU than any other video player.

    • Re: (Score:3, Informative)

      Same here. I use Unplug (Firefox plugin) to download the video, and then I use VLC to watch it.

      Unplug doesn't work with some of the less popular video sites, but it does work with YouTube. If somebody thinks they're being clever by letting someone other than YouTube host their video, then I probably didn't want to watch it anyway.

    • Re: (Score:3, Informative)

      How is JavaScript + the canvas element not a free, open replacement for Flash?
Chess tonight.