W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2009

[whatwg] Serving up Theora <video> in the real world

From: Ralph Giles <giles@xiph.org>
Date: Thu, 9 Jul 2009 15:50:02 -0700
Message-ID: <5d88ef650907091550y1976739aiebae90008d56d9dd@mail.gmail.com>
On Thu, Jul 9, 2009 at 3:34 PM, David Gerard<dgerard at gmail.com> wrote:

> Anyone got ideas on the iPhone problem?

I think this is off topic, and I am not an iPhone developer, but:

Assuming the app store terms allow video players, it should be
possible to distribute some sort of dedicated player application, free
or otherwise. I believe the fee for a cert to sign applications is
currently $100/year.

However, the iPhone doesn't have a shared filesystem, or
helper-applications in the normal sense, At least not as far as I can
tell. The work-around I'm aware of is for site authors to check if
you're running on the iPhone in javascript, and rewrite the video
elements to normal anchors with a custom schema, e.g.

  <a href="oggplayer://example.com/file.ogv">Click here to watch in
Ogg Player</a>.

Then, if the user has installed the Ogg Player app, which registers
itself has handling the 'oggplayer' schama, Safari will pass the
custom uri to it, and it can download/stream/whathaveyou.

 -r
Received on Thursday, 9 July 2009 15:50:02 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:14 UTC