Linked by Kroc Camen on Tue 24th Feb 2009 14:55 UTC
Apple Apple released the Safari 4 Beta today. Features: Tabs on top. "Top Sites" 'Speed Dial' feature. "Smart" address/search fields. HTML5 Canvas. HTML5 Audio/Video (though no Ogg). Acid 3. CSS Animation/Gradients/Masks/Reflection. CSS Web Fonts. New "Nitro" Javascript engine - "Up to 4 times faster than Firefox 3.1". 'Native' look and native font rendering on Windows Vista/XP. I can think of only one thing: "Now witness the firepower of this fully armed and operational battle station!"
Thread beginning with comment 350425
To read all comments associated with this story, please click here.
What good is HTML5 audio/video support...
by rjamorim on Tue 24th Feb 2009 16:25 UTC
rjamorim
Member since:
2005-12-05

without mandatory Ogg?

It seems that (thanks to Nokia) we'll see the the same old "each browser does it its own way". Firefox will go with Ogg, IE will pretty surely go with WMV/WMA, and Apple, it seems, will go with MPEG4.

The obvious outcome is that Flash/FLV will continue being used because it's the common denominator. And that sucks...

Reply Score: 15

Kroc Member since:
2005-11-10

You can specify multiple video sources with <video>. Thus, annoyingly, you can encode OGG and H.264 files and the browser will pick the right thing.

Reply Parent Score: 2

Liquidator Member since:
2007-03-04

Til then, we have to gather as webmasters and block users of versions of IE that don't comply with web standards, otherwise ten years from now, we'll still use the same old technologies and hacks ;)

'Native' look and native font rendering on Windows Vista / XP


Excellent! (At last) ;)

Reply Parent Score: 3

Laurence Member since:
2007-03-26

You can specify multiple video sources with . Thus, annoyingly, you can encode OGG and H.264 files and the browser will pick the right thing.


That's all very good and well, but it's twice the serve space and extra development work for what should have been standardised.

As much as I hate flash, I can't blame web developers for using FLV to get around the lack of video embedding standard.

Reply Parent Score: 6

lemur2 Member since:
2007-02-17

What good is HTML5 audio/video support without mandatory Ogg? It seems that (thanks to Nokia) we'll see the the same old "each browser does it its own way". Firefox will go with Ogg, IE will pretty surely go with WMV/WMA, and Apple, it seems, will go with MPEG4. The obvious outcome is that Flash/FLV will continue being used because it's the common denominator. And that sucks...


Webkit is open source, isn't it?

Won't some interested Webkit user (possibly Google Chrome) want to make sure that webkit can compete with this? ...

http://arstechnica.com/open-source/news/2009/02/mozilla-demos-impre...

"Another impressive feature that Web application developers will be able to take advantage of in Firefox 3.1 is support for worker threads, which provide support for concurrent execution in JavaScript. Worker threads will make it possible to perform complex computations in the background, so that the browser and Web application don't hang or become unresponsive.

The HTML 5 video element will also arrive in Firefox 3.1. This will allow video content to be embedded directly in Web pages, controlled with JavaScript, and manipulated through the DOM. It's a major step forward for rich media content on the Web. Firefox 3.1 will ship with built-in support for the Ogg Vorbis and Theora formats—open audio and video codecs that are believed to be unencumbered by patents. The actual codec implementations are integrated directly into the browser itself, so content in those formats will be playable without requiring any external components or plugins.

Blizzard says that Mozilla aims to encourage an explosion of creativity around video that will mirror the kind of uninhibited innovation that has flourished in the Web's inclusive standards-base ecosystem. Mozilla is actively contributing funding to Ogg development efforts to help accelerate the process. He says that Theora, which is used by Wikipedia, has the potential to achieve quality comparable to MPEG4. High definition video, however, will require the Dirac format, which could eventually be included in future versions of Firefox when it matures."


If Firefox can do all this, and then soon after (or even perhaps in the same timeframe) so too can Opera and Google Chrome, then Safari is going to have to implement it also in order to stay relevant.

We are right now not far away from the tipping point when Firefox + Google Chrome + Safari + Opera represents more than 50% of all web browsers. When we do get to that point, and they can all play rich content (in Vorbis, Theora and Dirac) straight out of box ... then we may hopefully finally see the back of browser-based lock-in to web content start to be broken.

FTA:
To illuminate the possibilities that are unlocked by these new features, Blizzard showed several technical demos. One of the demos used the HTML 5 video element to display a space shuttle launch. As the video played, JavaScript code running on the page used the video time index to retrieve launch data from a JavaScript array and draw graphs that show the shuttle's speed and altitude increasing during the launch.

The most impressive demo that he showed during his presentation used JavaScript in worker threads to programmatically detect motion in a playing video. This one has to be seen to be believed


Wow.

Edited 2009-02-25 05:04 UTC

Reply Parent Score: 4

steve_s Member since:
2006-01-16

Just FYI...

Safari 4 supports the new Javascript Worker object that your quote from Ars talks about.

Safari 4 also handles the audio and video tags you talk about, supporting all audio and video file types that QuickTime does. In fact, Safari 3 did too. I've got the Ogg QuickTime plugin installed on my Mac and have been happily playing ogg vorbis files through HTML 5 audio tags for many months.

Unfortunately I can't say the same for Firefox 3.1. I regularly check the Firefox "Minefield" nightly builds, and have never had the audio playback work on my Mac. The same build releases on Linux do play back audio. Windows releases have had poor performance for audio playback.

On these fronts Safari does not really have any catching up to do with Firefox.

It is a shame that Apple are being arses by not supporting the Ogg codecs out of the box though.

Reply Parent Score: 1

Tom K Member since:
2005-07-06

I'll take the superior quality-per-unit-of-data of Apple's QuickTime/H.267 over Ogg Vorbis any day, thanks.

Reply Parent Score: 2

t-eighty Member since:
2006-12-07

You must mean H.264. And Ogg Vorbis is an audio codec; you must be thinking of Ogg Theora.

Reply Parent Score: 2