content developer build share monetize content developer logo content developer masthead bottom

How To Make a 3D Web Video Wall with XML, FLV and CoolIris

Whether you’re sharing stories about or telling tales , there’s no shortage of strategies content developers can turn to for publishing web video.

Video distribution services like and are now entrenched in our everyday lives as we both create and consume video content, while relatively new entrants into the space like are emerging as user friendly alternatives for embedding video into a blog. And of course there’s the and , two popular apps that thankfully make it much easier today to publish a single video or modest playlist of in your own .

But what happens when you have a portfolio or library of say 50, a 100, or even more videos that you want visitors to your web site to be able to browse and sample from within an efficient yet compelling user experience that is also easy to set up and manage?

I was helping some friends at a tweak some features on their company web site recently and wanted to share with you a quick look at the approach we went with for addressing this type of challenge.

The key ingredients needed are:

1) A library of custom encoded H.264 videos,

2) A formatted file, and

3) An app known as the CoolIris 3D Embed Wall.

cooliris video wall embed video example screenshotScreenshot of CoolIris 3D Embed Wall in action.

You may already be familiar with CoolIris via their proprietary for displaying images and video. CoolIris wasn’t on my radar until I saw their logo last year in a little 125X50 ad banner in the sidebar. (proof that old school ad banners actually work sometimes?)

While learning about the CoolIris plugin I noticed that they also offer a developer version of the CoolIris Embed Wall which allows you to display a CoolIris Wall on your site via a player served from CoolIris.com. And that’s the technique we’ll be going into here.

A couple quick side notes though before we get started –

– CoolIris now offers which does a nice job of automating much of this process for you. But if you’re searching for help on how to build a public feed of your own video assets and tweak your code to the fullest then you’ll want to read on.

– I’ve been using Flash since version 2 and with each passing year it seems I rely on it a little bit less to solve web problems, but video remains an area where Flash continues to shine. And with (though some would argue this number) and it’s clearly among the leaders in this market. Keep in mind though that even with the installed base growing, Flash still lacks that kind of dominant market penetration on mobile devices. So the choice to go with a Flash based solution like this is not without its trade-offs.

Building your 3D Video Wall Step 1: Gather and prep your video assets.

The most time consuming aspect of building the wall turned out to be prepping all the media assets, and there are couple things to watch out for during this part of the process. One is audio. While testing out videos to include in the embed wall we hit a slight speed bump because a few of the videos were using some older audio that apparently hosed our CoolIris video playback. We re-encoded those files using and were back in business.

Another decision you may have to make is how you want to handle differing media formats. In this case the library included a cross section of standard 4×3 aspect ratio assets along with 16×9 assets with both 1:85 to 1 and 2:35 to 1 ratios. For this project the 4×3 video was in order to deliver a standard wide screen viewing experience across all the video. Both and were used to do this part of the job. If you’re looking for an open source, multi-platform solution to handle your video encoding you may want to take a look at and .

If your video library is large and will be growing rapidly, before you get started it would also be wise to devise a solid naming convention so you can more easily keep track of your files.

OK, now that you have your video prepped and ready to go, all that’s need to complete this step is a massive upload session ( is a great open source app for doing this) to get your video on your server(s) or in the . Important to mention here that if your video assets are deployed across multiple servers and/or under a variety of domain names, be sure and read up on Adobe’s .

Building your 3D Video Wall Step 2: Creating a Media RSS file.

First you’ll need an app for editing and managing your Media RSS format XML file. If you’re a coder by trade, you no doubt already have a favorite text editor or two in your toolbox. But if coding is not your world, there are several options out there for you to choose from, many of them free. is a popular choice if you use , is a based solution, and is a text editor written in for . (Note: Looks like dev work may have ceased on Smultron. The app appears stable but we still haven’t tried it on a box that’s been upgraded to .) FWIW, since I started running on my I’ve been trying out and so far like what I see.

The good news here is that just about any text editor should work for you as long at is saves “raw” text and does not add any of its own formatting code to your xml file when it saves it.

Once you have your text editor, the process for actually editing the XML of your Media RSS file is pretty straightforward. Included below is a bare bones template if you need one to get you started.

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:media="http://search.yahoo.com/mrss/"
    xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>

    <!--EDIT BELOW THIS ONLY-->

         <item>
            <title>Put Title of Your First Item Here</title>
            <link>Put URL to something you want to link to here. Optional.</link>
            <media:description>Put short description here. Optional. </media:description>
            <media:thumbnail url="http://put_url_to_thumbnail_jpg_file_here"/>
            <media:content type="video/x-flv" url="http://put_url_to_flv_file_here"/>
        </item>

        <item>
            <title>Put Title of Your Second Item Here</title>
            <link>Put URL to something you want to link to here. Optional.</link>
            <media:description>Put short description here. Optional.</media:description>
            <media:thumbnail url="http://put_url_to_thumbnail_jpg_file_here"/>
            <media:content url="http://put_url_to_jpeg_file_here"/>
        </item>

 <!--EDIT ABOVE THIS ONLY-->

    </channel>

    </rss>

One thing to point out here — this template includes examples both for displaying video and also for displaying only image files. Be sure and note the addition of the content type “video/x-flv” notation for the first item which is needed to identify your video.

From here, building your XML file is a matter of simply cutting and pasting a new item for each asset and filling in the blanks. I thought about finding/building a quick little front end for getting our data into a database and generate the Media RSS feeds dynamically from there, but for projects like this treating the XML file as a sort of and just editing the text directly is fast and easy so we decided just to leave well enough alone and go with that approach.

Building your 3D Video Wall Step 3: Embedding options.

While we were building and testing the wall we tried out the for embedding the wall which is a good way to get started quickly. It worked fine, but when it was time to go live we turned to to handle embedding the player.

You can and run it from your own server or you can load it from the by placing this code within the head section of your web site:

<script type="text/javascript"
  src="http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js">
</script>

In the past I’ve been a proponent of downloading and running swfobject from my own servers but I’ve recently begun using the hosted Google version and it seems to be pretty reliable so far. If you want more info on how swfobject works, here are the .

Now, from here all it takes to make the CoolIris Embed Wall display your video library is to include a snippet of javascript like this in the section of your web page where you want your wall to appear:

<script type="text/javascript">
var flashvars = {
    feed: "http://put_url_to_your_xml_file_here.xml"
};
var params = {
    allowscriptaccess: "always"
};

swfobject.embedSWF("http://apps.cooliris.com/embed/cooliris.swf",
                   "wall", "960", "500", "9.0.0", "",
                   flashvars, params);

</script>

<div id="wall"><!-- 3D Wall Goes Here --></div>

The above is an example of about the most basic install you can do on a 960 wide by 500 tall wall. To use this code on your site, insert the URL to your XML file in the feed variable and adjust the width and height parameters to fit the size you want your wall to be.

Another advantage to this approach is that you should be able to get your code to .

Building your 3D Video Wall Step 4: Customizing your wall.

There are many ways you can further customize the player via the or if you decide to go with a straight flash embed you can customize your player using the selection of .

One of the nice customization options you have is the ability to integrate your logo or other branding elements into the CoolIris Wall either on the bottom bar of the player or via the ability to add a custom preload screen and/or wall backgrounds. We tested all the options and they worked well, but ultimately decided to go with just a subtle logo on the player bar.

cooliris video wall embed screenshot
Screenshot of playing a video in CoolIris

Many large content related companies like and are now publishing their content as for the CoolIris plugin. And now with the CoolIris 3D Embed Wall, content developers of all sizes can take advantage of this innovative video distribution platform.

If you want to keep up with the latest CoolIris news and developments, you can check out their and .

gray line

Filed under share by david cummings on Wednesday 6 January 2010 at 11:42 am

Tags: , , , ,

  |   Sphere: Related Content

Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

Next article: How To Customize QR Codes With Your Brand’s Identity
Previous article: Social Media in San Antonio

spacer

More Fresh Content -- The Latest Activity on the Content Developer Network.

spacer

delicious icon Content Developer Bookmarks

Ohloh
Ohloh is a free, wiki-based public directory of open source software and the people who build it. Data from the community is used to create historical reports about the changing demographics of the open source world. Bookmarked 03/10/2010.

Video on the Web - HTML5
This is a chapter from an upcoming O’Reilly book about HTML5. The chapter focuses on how developers can deliver video without plugins using new HTML5 standards, various codecs and HTML5 compliant browsers. Bookmarked 02/26/2010.

WHATWG
The Web Hypertext Application Technology Working Group is a community focused primarily on the development of HTML5 standards and API's needed for Web applications. Bookmarked 02/17/2010.

Pods CMS
Pods is a WordPress plugin that creates a CMS development framework allowing you to add and display your own content types in WordPress. Includes enhanced import/export features, lightweight permission system, menu editor and API. Bookmarked 01/30/2010.

NUI Group
The Natural User Interface Group is an open source community researching and creating techniques for applications such as augmented reality, voice/handwriting and gesture recognition, multitouch computing and information visualization. Bookmarked 01/29/2010.

WordPress Foundation
The WordPress Foundation is a 501(c)3 non-profit organization founded to further the mission of the WordPress open source project: to democratize publishing through Open Source, GPL software. Bookmarked 01/22/2010.

ClipSpeak
ClipSpeak is a .NET based open source text-to-speech tool with a minimal user interface that speaks text copied to the clipboard and can also be used to convert text to MP3 files. Bookmarked 01/20/2010.

more del.icio.us bookmarks...

spacer

Curated Content -- Recommended Blogs & News for Content Developers.

spacer

The Business of Content

Good News at 'OC Register': Staffers Get Bonuses
Editor & Publisher 03/12/2010 04:29 AM

Why Did Nick Denton Truncate Gawker’s RSS Feeds? [Voices]
All things D 03/12/2010 04:24 AM

HootSuite Buys Android Developer Swift App
Paid Content 03/12/2010 03:44 AM

Amidst Controversy Storm, Kwedit Reveals Repayment Rate Already At 26%
TechCrunch 03/12/2010 03:20 AM

Google Nears Decision on China Censoring
Wall Street Journal 03/11/2010 11:51 PM

Video: Rupert Murdoch Loves the iPad, Hates Search
GigaOm 03/11/2010 08:00 PM

Court Says Apple Doesn't Own The Letter "i"
Silicon Alley Insider 03/11/2010 06:28 PM

Report: News Corp. Pondering Sale of Mobile Firm Jamba
Digital Media Wire 03/11/2010 03:31 PM

Search, Marketing & Social Media

What Do Social Media Marketers Know About Tech? SURVEY RESULTS
ReadWriteWeb 03/11/2010 11:35 PM

Gaming Faceoff: Project Natal vs. PlayStation Move
Mashable 03/11/2010 10:29 PM

Changing Lives
Chris Brogan 03/11/2010 12:59 PM

Would you choose social media or engaged employees?
Social Media Today 03/11/2010 11:33 AM

How to Blog: How to Choose a Blog Niche [6 Tips]
Pro Blogger 03/11/2010 10:56 AM

Conference Productivity Tips For SXSW
Social Media Explorer 03/10/2010 05:00 PM

Crisis as a Turning Point
Brand Autopsy 03/09/2010 02:58 PM

Architecting A Social Web Marketing And PR Strategy
The Future Buzz 03/08/2010 09:52 AM

Indie Film, Web & Mobile

Quick App Updates: Tweetie, Loopt, Foursquare, Flickr — Including iPhone 3.2 Compatibility(!)
The iPhone Blog 03/11/2010 10:14 PM

Android's American market share soars, WinMo pays the price
Engadget Mobile 03/11/2010 10:11 PM

Microdata support for Rich Snippets
Google Webmaster Central 03/11/2010 08:26 PM

Behind the Scenes: SXSW Bag Stuffing
SXSW 03/11/2010 08:26 PM

Your favorite Android Twitter clients
Android Central 03/11/2010 04:23 PM

Leaked: HTC Incredible caught in its Verizon colors, specs confirmed
Android Community 03/11/2010 02:44 PM

ESPN prepares for Women's Final Four
Film San Antonio 03/08/2010 02:14 PM

Android NDK r3
Android Developers Blog 03/08/2010 01:27 PM

spacer

Recent Comments & Questions from the Content Developer Community.

spacer

Comment on San Antonio Film Forum Screenwriting Workshop by Renee Hayes
Hi David, Thank you for publishing this workshop! I am an aspiring screenwriter who lives in S.A.. I have an adult son who is already working in Burbank. I need to get serious about this so I hope to be able to attend your workshop. Please add me to your mailing list and let me know of any other workshops or events that pertain to screenwriting,thanks! Warmly, Renee P. Hayes - Comment left on 02/12/2010.

Comment on Open Source SMS Text Messaging Application by Garry
Hey David, THis is exactly what I was looking. It's good to hear it from someone that's done this in the real world too. Cheers, Garry - Comment left on 02/08/2010.

Comment on How To Customize QR Codes With Your Brand’s Identity by dc
Thought this App Judgment episode on QR Codes was a good introduction to using QR Codes on Android: http://revision3.com/appjudgment/an_ron_barcodescanner - Comment left on 02/01/2010.

Comment on Open Source SMS Text Messaging Application by dc
Quick update - If you use Wordpress, there look to be some interesting plug-ins available now that take advantage of this same approach for delivering SMS messages via email. I downloaded one - EasySMS - and plan to test it out. http://wordpress.org/extend/plugins/easysms/ - Comment left on 01/27/2010.

Comment on Open Source SMS Text Messaging Application by jackson
hey there, have been messing around with phpmailer for awhile, and found your site while looking for a solution to a problem: international characters not displaying when emailed. when phone returns and email, writing international chars with it's own keyboard, likewise not displayed in email i believe this is an issue with the GSM charset, eg: it's needed to be able to send readable sms to phones (gsm charset supports international chars) have tried changing content type, encoding and numerous other things, would appreciate any ides you may have, feel free to email,thanks - Comment left on 09/25/2009.

comment feed...

spacer
was founded by , a San Antonio Web Developer & Freelance Content Strategist focused on using open source software to create, distribute and monetize multi-platform, interactive content, and how sharing knowledge via & can be used to build authentic brands. Learn more.

Content Developer is powered by Wordpress & . Content Developer and build. share. monetize. are trademarks of Cummings Hatton Corporation.