ogg in safari woes

On the heels of the Firefox 3.5 release that brings HTML5 video embedding support the following pattern of embedding video files emerges (including on mozilla.com and openvideoalliance.org) that is two distinct sources for the video , one encoded with ogg , one with mpeg4 , using html code as follows :

<video>
<source src=”thefile.m4v” type=”video/mp4″>
<source src=”thefile.ogg” type=”video/ogg”>
</video>

What this does is show the mp4 file in safari and the ogg file in firefox , and it is all well and dandy except in the cases where a lot of media is involved it is unpractical at least to have 2 formats for every video file .

So let’s chose just one format then ,  because ogg is a open standard and endorsed by the One Video Alliance it is a safe bet  , sites like Dailymotion are already migrating to it .

Ok , how about browsers besides firefox , well safari for example can also support ogg video with a codec plugin namely Xiph Quicktime Component , but a simple test reveals a problem with the mime types , safari will not play the ogg file if  it has type=”video/ogg” in the html tag , works just when embeded ogg files have no type  defined.

At this point i am not certain whether it’s a bug or just a misconfiguration in osx or safari, apparently safari uses system wide mime-type settings that are accessible with System Preferences plugins like RCDefaultApp and MisFox but they do not help this cause a lot.

The point i am trying to make is that if you want to use a single format for embedding video and want it to work in all html5 compatible browsers (with ogg plugins) you best not define the type in the html tag if you want the video to work in safari.

Advertisements

enabling iPhone tethering on Orange

Here is how carrier free charge tethering looks and is done with Orange Romania

iphone

rename ~/Library/iTunes/iPhone Carrier Support/Orange_ro.ipcc to Orange_ro.zip extract and enter Payload and bundle dirs , open Carrier.plist

plist

edit the apns section like in the screenshot , optionally edit the other 2 plists changing BundleVersion from 2.5 to 5.0, save and close all plists

compress the Payload dir an rename the archive to .ipcc , alt+click Restore in itunes and select it after typing

defaults write com.apple.iTunes carrier-testing -bool TRUE

in terminal then just reboot the iphone

mac

i have tested both usb and bluetooth , working great , the ipcc file is atached

2010 UPDATE :  THIS DOES NOT WORK ANYMORE