Linking to Audio and Video Files
You can enable streaming from the BU Real server with a correctly formatted link to your audio and video files. Reference a Real media clip from a Web with the following code:
<a href=
"http://realserver.bu.edu:8080/ramgen/y/o/yourdirectory/yourfile.rm">
View a video</a>.
As this example illustrates, the URL must include the Real server's hostname and port (8080), as well as the /ramgen/ command which starts the streaming process. Following the /ramgen/ command is the path to your file. This path should be in the format /first letter of your directory/second letter of your directory/full directory name/any subdirectories/ . Your file should have a .rm extension.
When a visitor to your page clicks on this link, the RealPlayer launches automatically and plays the clip. Here's an example using an actual file (view the source of this page to see the HTML code):
Clarissima video
You can also embed the RealPlayer directly on your Web page. The following code uses a table to lay out the controls below the playback window:
<table border="0" cellspacing="0" cellpadding="0" width="400">
<tr>
<td> <div align="center"> <embed src=
"http://realserver.bu.edu:8080/ramgen/a/v/av/nis/
avsamples/clarissima.rm?embed"
width="320" height="240" autostart="false"
controls="ImageWindow" console="_master">
</embed> </div> </td>
</tr>
<tr>
<td> <div align="center"><embed src=
"http://realserver.bu.edu:8080/ramgen/a/v/av/nis/avsamples/clarissima.rm?embed"
width="375" height="100" controls="all" console="_master">
</embed> </div> </td>
</tr>
</table>
Live streaming (webcasting)
Available to all faculty, staff, and organizations within the BU community. Examples of live streaming have included WTBU (student radio station), SMG lecture series, and Commencement.
Learn about how to set up a webcast by enrolling in A/V: Conducting a Live Webcast.
An Important Note About Media Players
To ensure that your visitors are able to access your audio and video content, you should include a link to download the current version of the appropriate player on your site. NIS maintains a resources page with updated links to download player software.
You can link this page (recommended), or copy the source code of the appropriate player onto your own page.
|