Xiph logo

Cortado streaming applet

Cortado is an open-source cross-browser and cross-platform video playback solution based upon Java technology. Leveraging the huge installation base of Java it allows web-authors to deliver Ogg Theora content without having to worry about the media playback setup installed on customers' machines. This enables e.g. Wikipedia to deliver Ogg Theora video content embedded into articles to millions of users. Originally developed at Fluendo, Cortado's latest versions are now maintained by Xiph.org. If you're interested in using free media delivery technology, e.g. to avoid the costs adjunctive to non-free technologies like H.264, and want to reach a big potential user base, Cortado may be the solution you've been looking for.

Using Cortado as a Fallback for HTML5 video

Cortado works great as a fall-back-solution for using HTML5's audio and video support. This code uses the latest signed Cortado applet issued by Xiph.org and should work with non-html5 browsers like Internet Explorer.

<video src="MyVideo.ogv" width="352" height="288">
  <applet code="com.fluendo.player.Cortado.class" archive="http://theora.org/cortado.jar" width="352" height="288">
    <param name="url" value="MyVideo.ogv"/>
  </applet>
</video>

Getting Cortado

You can fetch the source from Cortado's Git master copy.

Source and binary packages are available from the main xiph.org release distribution site.

An unsigned pre-compiled version is available at http://downloads.xiph.org/releases/cortado/cortado_latest.jar. The unsigned jar only permits the display of videos located on the same host as the jar file so you must copy this file to your server but using it avoids security warnings.

Xiph.org also provides a signed version of Cortado at http://theora.org/cortado.jar. You can directly embed this applet without having a local copy but users will be asked to approve the certificate.

Usage example

Provided you have a file containing Ogg Theora content named content.ogv and a binary of Cortado named cortado_latest.jar in the same directory as the content you can embed Cortado by including following HTML-snippet into the source-code of your web-page:

<applet code="com.fluendo.player.Cortado.class" archive="cortado_latest.jar" width="352" height="288">
  <param name="url" value="content.ogv"/>
</applet>

There is a multitude of parameters to tailor Cortado to your needs. Please refer to Cortado's documentation for a list of available parameters.

Discussion and bug reporting

You can discuss Cortado on IRC at #theora and on the theora-dev mailing list. Bug reports are welcome at the Xiph.org bugtracker.

Demos