Ourmedia Player now supports ustream.tv url's

By Markus Sandy at 07/07/2007 - 13:39

JD pointed me to ustream.tv the other day. Like many sites these days, this uses a custom Flash player and offers the usual "Share" options of both "Permalink" and "Embed" options. This is a general pattern and we could actually create a form for adding new players based on two initial samples like these:

http://ustream.tv/chrispirillo/videos/EioN9ypzUL8kLaexG24V9A

and

<embed width="320" height="261" src="http://ustream.tv/EioN9ypzUL8kLaexG24V9A.usv" type="application/x-shockwave-flash" wmode="transparent" \>

The basic pattern is to (1) massage url's like this into the src url; this often is a simple search or regular expression. Next, (2) parse the embed (or object/embed) HTML code and replace parameters with standard variables such as $mediaurl, $height, $width, $autoplay, etc.

These could be stored in a database table or in external text (xml) files. I need to look at the Embedded Media Field module in more detail as it has a notion of video hosting configurations or drivers. I have installed that module on nextgen.ourmedia.org, but have failed to make it work so far (nothing shows up - probably related to our theme).

Links:

Comments and discussion: