Larry Bouthillier's Streaming Media Event Stream Tutorial

The following code and examples accompany Using RealSystems' Event Streams that appeared on streamingmedia.com in May 2001. This example predates modern browsers like Firefox, IE7, and Safari, so some of the browser behaviors may not work as they did when this was written. Still, the basic method for embedding triggers in a streaming file still apply.

Did you know that you can embed events into your streaming video content which will "throw" URLs into your viewers' browser? You can embed calls to javascript functions, too. You can even pass arbitrary data strings from the video stream to Java or Javaqscript code running in your browser page. This (link) tutorial on streamingmedia.com explains how. I'll teach you how to create an events description file, how to merge it with your streaming video or use SMIL to sync it to your media, and how to use RealPlayer callback events to do more complex interaction between your web application and your streaming media. ©2001 Larry Bouthillier