Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×
Mozilla The Internet Media

Questioning Mozilla's Plans For HTML5 Video 242

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."
This discussion has been archived. No new comments can be posted.

Questioning Mozilla's Plans For HTML5 Video

Comments Filter:
  • Re:Eyes wide shut (Score:5, Informative)

    by Simon (S2) ( 600188 ) on Sunday June 21, 2009 @12:50PM (#28411505) Homepage

    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.

  • Re:Eyes wide shut (Score:5, Informative)

    by nyctopterus ( 717502 ) on Sunday June 21, 2009 @12:51PM (#28411509) Homepage

    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.

  • Re:Eyes wide shut (Score:3, Informative)

    by Sephr ( 1356341 ) on Sunday June 21, 2009 @01:11PM (#28411715)
    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.
  • Re:Video tag (Score:3, Informative)

    by Scrameustache ( 459504 ) on Sunday June 21, 2009 @01:13PM (#28411727) Homepage Journal

    A lot of video producers like to rely on the fact that Flash makes it difficult to download videos to your hard drive.

    A lot of video producers don't know about FlashGot [flashgot.net].

  • Re:Eyes wide shut (Score:3, Informative)

    by Baseclass ( 785652 ) on Sunday June 21, 2009 @01:15PM (#28411741)
    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.
  • by Repossessed ( 1117929 ) on Sunday June 21, 2009 @01:16PM (#28411763)

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

  • by Anonymous Coward on Sunday June 21, 2009 @01:20PM (#28411793)

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

  • Re:Eyes wide shut (Score:1, Informative)

    by Anonymous Coward on Sunday June 21, 2009 @01:40PM (#28411957)

    It's worth noting that autoplay exists to stop authors from autoplaying videos using JavaScript. Because of that browsers will be able to prevent automatic playing of videos if user wishes so.

  • Re:Waiting (Score:5, Informative)

    by smoker2 ( 750216 ) on Sunday June 21, 2009 @01:43PM (#28411989) Homepage Journal
    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.
  • Re:Eyes wide shut (Score:5, Informative)

    by nyctopterus ( 717502 ) on Sunday June 21, 2009 @01:47PM (#28412015) Homepage

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

  • by tepples ( 727027 ) <tepples.gmail@com> on Sunday June 21, 2009 @01:57PM (#28412087) Homepage Journal

    If the tag supports the ability to specify where the codec can be acquired from

    The pluginspage attribute of the <embed> element already supports this, as does the classid attribute of the <object> element. But whenever I try to follow the link, all I get is "Sorry, we don't make a plug-in for your combination of CPU, operating system, and web browser."

  • Re:Eyes wide shut (Score:5, Informative)

    by QuoteMstr ( 55051 ) <dan.colascione@gmail.com> on Sunday June 21, 2009 @02:36PM (#28412465)

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

    Clipboard.getData() [adobe.com].

    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.

  • by asa ( 33102 ) <asa@mozilla.com> on Sunday June 21, 2009 @02:54PM (#28412579) Homepage

    "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 [xiph.org] and this comparison [xiph.org] to see how Theora compares to the most popular real-world implementations of H264 on the Web.

  • Comment removed (Score:3, Informative)

    by account_deleted ( 4530225 ) on Sunday June 21, 2009 @03:05PM (#28412649)
    Comment removed based on user account deletion
  • by asa ( 33102 ) <asa@mozilla.com> on Sunday June 21, 2009 @03:26PM (#28412791) Homepage

    If we can get Google to go along with Theora, we'd be all set.

    Google is going along with Theora. Chrome will (does in test builds) support Theora+Vorbis in Ogg.

  • Re:Waiting (Score:3, Informative)

    by Simetrical ( 1047518 ) <Simetrical+sd@gmail.com> on Sunday June 21, 2009 @03:35PM (#28412855) Homepage

    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

    All of this is already the case. Try out Chrome on Windows, or Firefox 3.5 on (AFAIK) any platform. You don't need JavaScript enabled (unless the page author is a jerk, but that's always true), and you can download from the context menu as you'd expect.

  • Re:H.264 H.263 (Score:5, Informative)

    by asa ( 33102 ) <asa@mozilla.com> on Sunday June 21, 2009 @03:49PM (#28412987) Homepage
    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.
  • Unequal standards (Score:2, Informative)

    by Anonymous Coward on Sunday June 21, 2009 @03:55PM (#28413039)

    These days, flash is basically a VM for JS plus a bunch of drawing and playback APIs. Why would you demand that firefox does things without JS that flash does with JS? That simply makes no sense.

    Video in Firefox works with absolutely zero JS. If you want to create fancy dancing interactive controls, yes you'll need JS, but basic playback doesn't require it... Meanwhile flash needs actionscript3 to do anything at all.

  • by Anonymous Coward on Sunday June 21, 2009 @04:47PM (#28413403)

    How do you "download" a live stream of a live event, such as a news conference or a sport competition?

    Currently VLC. One day, this will work...

    ffmpeg -i http://stream_in_url/ stream_out_file.ogv

    And how do you plan to deal with video providers who offer streaming for 0 USD or downloads for 20 USD, and no other video provider offers the title you want?

    See above. There's not too much commercial "content" I care for and any that requires something like rtmpdump, I'm not going to bother with anyway.

    If you switch the browser into "prompt to download", you get the first five seconds.

    That's not really a browser problem, it's upto the provider to make clear what their terms are.

    Don't worry; it does.

    Who's worried? I already said I'd be disabling audio/video in the browser. If I'm worried about anything it's the prospect of having to maintain a firefox build without gstreamer -- hardly a major concern.

  • by SanityInAnarchy ( 655584 ) <ninja@slaphack.com> on Sunday June 21, 2009 @09:07PM (#28415181) Journal

    Check out http://youtube.com/html5

    I'm pretty sure that's vorbis/theora.

  • by nxtw ( 866177 ) on Monday June 22, 2009 @05:32AM (#28418783)

    The situation you describe isn't what's actually happening. Theora isn't close to H.264.

"And remember: Evil will always prevail, because Good is dumb." -- Spaceballs

Working...