Slashdot Mirror


Questioning Mozilla's Plans For HTML5 Video

AberBeta writes with this excerpt from OSNews: "We're on the verge of a serious evolution on the web. Right now, the common way to include video on the web is by use of Flash, a closed-source technology. The answer to this is the HTML5 video tag, which allows you to embed video into HTML pages without the use of Flash or any other non-HTML technology; combined with open video codecs, this could provide the perfect opportunity to further open up and standardize the web. Sadly, not even Mozilla itself really seems to understand what it is supposed to do with the video tag, and actually advocates the use of JavaScript to implement it. Kroc Camen, OSNews editor, is very involved in making/keeping the web open, and has written an open letter to Mozilla in which he urges them not to use JavaScript for HTML video."

21 of 242 comments (clear)

  1. Video tag by Adrian+Lopez · · Score: 4, Insightful

    A lot of video producers like to rely on the fact that Flash makes it difficult to download videos to your hard drive. I wonder how they'd react if a major online video provider were to provide its content through a less restrictive method such as the video tag.

    --
    "In prison you just have to shut your eyes and take it. Here you have to shut your eyes and give it."
    1. Re:Video tag by malevolentjelly · · Score: 5, Interesting

      A lot of video producers like to rely on the fact that Flash makes it difficult to download videos to your hard drive. I wonder how they'd react if a major online video provider were to provide its content through a less restrictive method such as the video tag.

      I think that's rather simple. The video tag would only be popular with free and amateur content. Flash (or Silverlight) solutions will continue to dominate the more popular commercial comment that needs to be protected. If videos were trapped behind theora playlists with commercials in-between, advocates would make solutions to circumvent the commercials and demonetize the model of the very companies who took the risk to support it.

      Basically, any major media company that buys into HTML 5 video tag will be strangled by the advocates who pushed it on them in the first place, monetarily. When the production studios offering the content find out that a free video application that plays their content without commercials (hypothetically) exists, they will pull out and said video site will collapse. Colloquially, it's a trap. Commercial content needs protection because those watching it on the web do not own it.

      Furthermore, there will be a minor codec war. Firefox will probably only support theora, Safari will only use h.264 (Apple will flatly refuse to use theora), same for google chrome, perhaps. Then, Microsoft will support the tag in IE, but provide support for WMV in the video tag (and possibly h.264 if we're lucky, since it's now licensed in Windows 7). So, the video tag will slowly become just as crazy as the plugin-based video players of Web 1.0... except they will be written in slow javascript instead of the fast native code of the past. Primarily, because no one has agreed on how to do it so it isn't a standard.

  2. Re:Eyes wide shut by Simon+(S2) · · Score: 5, Informative

    So are we going to require browsers to install with codec packs?

    No. The idea is to include the codec in the browser. But to allow that at reasonable conditions, the codec should be Free. The codec proposed for this purpose is Ogg Theora/Vorbis, an OSS codec build specifically trying not to use any patented technology. As you can imagine, Apple, MS and Adobe are not really happy about this, as they obviously would like their patented technology to be used in HTML 5, and because Apple and MS are not only video-codec-makers but browser-makers too, and not small ones, we can not just ignore them and go ahead with Theora. Implement the HTML 5 video tag in Mozilla with Theora looked like a good chance to get the open codec though, but this Javascript stuff post by Mozilla now makes it look like they have other plans.

    --
    I just don't trust anything that bleeds for five days and doesn't die.
  3. Re:Eyes wide shut by nyctopterus · · Score: 5, Informative

    Flash Video is unbelievably processor intensive (especially given it's pretty crappy quality), surely you've noticed that? Even on modern dual processor machines it can stutter and slow down other processes. If video could settle down like image formats, the web would be a better place for it.

  4. Re:Waiting by Anonymous Coward · · Score: 3, Interesting

    Javascript is a cool language. I've written more than a couple of browser extensions and intranet apps with it in my time and I'm one of those people that disables javascript for browsing the public internet. I consider running random 3rd party code to be an outright security hole, some people are willing to sacrifice security for the bells and whistles but only a complete moron disagrees with the premise.

    You can probably guess that I personally am going to disable the HTML5 A/V elements and continue downloading video manually. That aside, browser based audio/video should provide basic playback functionality for the user without javascript enabled. The functionality should also be easily disabled or switched into "prompt to download" mode and finally, I don't want to use GStreamer for anything... ever...

  5. Re:I thought DRM was the issue by blincoln · · Score: 3, Interesting

    My understanding is that the reason that people use flash and silverlight for video is so that people cannot save, reuse, and redistribute the content.

    I've run across very few streamed videos that can't be downloaded. In the olden days I'd use something like WireShark or Network Monitor to get the URL of the content. Nowadays it's much easier with various Firefox extensions.
    As far as I know, the reason most sites use Flash or whatnot is because they want the video to be streamable and start more or less instantly. In modern Western society, if you can't start watching the video immediately, how likely are you going to be to remember to watch it after it's downloaded 15-30 minutes (or more) later? The whole (business) idea is to keep peoples' attention, like with television. If they "switch channels", you've lost your advertising opportunity.

    --
    "...always new atoms but always doing the same dance, remembering what the dance was yesterday." -Richard Feynman
  6. Re:Eyes wide shut by Sephr · · Score: 3, Informative

    By default the user needs to initiate playing the video, but there is an optional autoplay attribute which can be used to auto-buffer and auto-play the video.

  7. Re:Eyes wide shut by QuoteMstr · · Score: 3, Insightful

    Can you imagine going to a web site from a corporate locked down machine and attempting to install some untrusted codec?

    As opposed to Flash, which is pretty much the ultimate untrusted codec? It's a huge binary blob that has had numerous security problems, and which has a huge attack surface. Even ignoring declared vulnerabilities, Flash allows web pages to do things like access the clipboard and bypass XMLHttpRequest same-origin restrictions. In short, installing flash makes a web browser demonstrably less secure.

    It's remarkable, then, that an administrator would be comfortable installing this Trojan octopus of a plugin while ignoring a far simpler open source video codec that he can verify and compile himself.

    Really, it just shows that people will trust the familiar without seriously questioning it, at least until a crisis shows up.

  8. Re:Eyes wide shut by Baseclass · · Score: 3, Informative

    It's true, Flash content is choppier in Linux. I blame Adobe and their crappy plugin. If I download an .flv and play it in mplayer the problems disappear.

    --
    ^^vv<><>BA
  9. Re:HTML is dead... Didn't you notice? by Repossessed · · Score: 4, Informative

    That would be the entire point of HTML 5. To bring HTML back to the forefront.

    --
    Liberte, Egalite, Fraternite (TM)
  10. Everyone using Firefox 3.5, see this by Anonymous Coward · · Score: 3, Informative

    Demo of video and SVG support in Firefox 3.5. That's why video being built-in to HTML5 is important.

  11. Re:Waiting by smoker2 · · Score: 4, Informative

    This has nothing to do with HTML 5 or the video tag. The javascript is used to create a fallback path for users who don't have a particular codec installed. It is not compulsory. Most linux machines install ogg theora with a media player package anyway, it's the rest of the world that need to download it.

  12. Re:Eyes wide shut by nyctopterus · · Score: 4, Informative

    Nope, OS X (10.5) on a dual 2.8Ghz iMac. There's no excuse for Flash video's failures.

  13. Re:Eyes wide shut by beelsebob · · Score: 3, Insightful

    The point of the video tag is that it should contain some (as yet undecided thanks to infighting) standard codec, in the same way as an img tag should always contain jpeg, png or gif data, a video tag should always contain xyz, abc or nml data. Exactly what xyz, abc or nml should be is yet to be figured out.

    Google and apple would like them to be h264/aac, because everyone uses that already, even more recent people using flash.
    Mozilla would like them to be ogg theora/vorbis, because they're open, even though nothing actually supports them.

    Neither side can agree.

  14. H.264 > H.263 by tepples · · Score: 4, Insightful

    Thusnelda is noticeably better than H.263 (which is what YouTube used to use)

    Exactly: used to use. Since then, YouTube serves HQ and HD videos in H.264.

  15. Re:Eyes wide shut by QuoteMstr · · Score: 4, Informative

    I won't even bother getting into details, but flash can't get the clipboard contents, only set it

    Clipboard.getData().

    much like all other browsers

    Only IE, actually.

    Don't get me started on your XMLHttpRequest argument...

    Flash allows you to request content from sites that would be blocked by XMLHttpRequest. Can you refuse that statement or not?

    I bet if it was made by Linus/RMS/Jobs, the same crowd would have worshiped it...

    You inadvertently make a good point. If Linus or RMS had developed flash, its source would have been open sourced, and by now, its capabilities would have been integrated into the browser. We wouldn't talk about what "Flash" can do as distinct from something else, but simply about the abilities of browsers.

    That's what the rich media part of HTML5 is all about: doing what Flash can do in a browser.

  16. Misinterpretation by 93+Escort+Wagon · · Score: 3, Interesting

    and actually advocates the use of JavaScript to implement it.

    The writer of that linked piece makes it pretty obvious his goal is for the video to work for everyone - and the javascript code is therefore used to basically find a method the current user's browser can support without it being obvious to the user (e.g. not forcing the end user to download the video and view it in a separate player, which the OSNews letter seems to want to push on the user).

    In other words, he's thinking about the user's experience first.

    The author of the submitted story, on the other hand - as with the one from a few days ago that lamented Chrome's lack of purity regarding HTML5 video support - is more interested in Ogg zealotry. That's fine, if it floats your boat - but let's not dance around and obfuscate this. Make it very clear you want the Ogg format used - and ONLY the Ogg format used. Then the rest of the world (outside of Slashdot) can choose to continue ignoring you, just like it's been doing for the past few years.
     

    --
    #DeleteChrome
  17. Re:When bandwidth costs more than MPEG royalties by Daemonax · · Score: 3, Insightful

    Why is anyone worried about the quality of videos your going to watch in your browser? The vast majority of those videos are not going to be interesting enough to want to see them in full HD glory. I would rather see Ogg because it's a free standard, and if we lose quality in order to save bandwidth I don't really care when it comes to the type of videos that I watch via my browser.

  18. Re:When bandwidth costs more than MPEG royalties by asa · · Score: 4, Informative

    "Unfortunately, Theora still needs twice the bitrate as H.264 to deliver the same quality, even with the "Thusnelda" rewrite of the encoder."

    Except that statement is provably false if by no other facts than that neither Theora nor H264 quality scales linearly with bitrate.

    Beyond the obvious fail in your claim, you're also just wrong.

    See this comparison and this comparison to see how Theora compares to the most popular real-world implementations of H264 on the Web.

  19. Re:Really... by asa · · Score: 3, Interesting

    What you're saying is HTML is going to add the ability to do what people have been doing for 5 yrs with Flash.

    No, what we're saying is that video is going to become a first-class Web citizen that can interact with the rest of Web content in ways that Web developers want. Flash's video is locked inside the plug-in prison and cannot be well integrated with non-flash (real Web) content. Bringing video (and audio) to HTML means that real Web content like other HTML, JavaScript, SVG, CSS, etc. can interact with video and improve on what people have been doing for 5 years with Flash.

  20. Re:H.264 H.263 by asa · · Score: 4, Informative

    tepples, you claimed that H.264 requires twice the bitrate to achieve the same quality. d235j responded that it only took15% more bandwidth to achieve the same quality and you failed to respond to that. Also, for the last several years h.263 was "good enough" for billions of video views from hundreds of millions of users. Theora is considerably better than h.263 and very close to h.264. Your claim that it requires twice the bandwidth to math h.264 just doesn't hold water with the overwhelming majority of video content online today. For real-world online video content, both standard and high-def, Theora holds its own against H264. It might not be better, but at comparable bitrates, I'd wager you couldn't find more than 2% of the Web population who can appreciate the differences. Oh, and Theora is getting better with every passing day AND in my experience it beats H264 in decoding CPU usage.