WebDeveloper.com �: Where Web Developers and Designers Learn How to Build Web Sites, Program in Java and JavaScript, and More!   
Web Developer Resource Directory WebDev Jobs
Animated GIFs
CSS
CSS Properties
Database
Design
Flash
HTML
HTML 4.01 Tags
JavaScript
.NET
PHP
Reference
Security
Site Management
Video
XML/RSS
WD Forums
 Client-Side
  Development

    HTML
    XML
    CSS
    Graphics
    JavaScript
    ASP
    Multimedia
    Web Video
    Accessibility
    Dreamweaver
    General
    Accessibility
    Dreamweaver
    Expression Web

    General

 Server-Side
  Development

    PHP
    Perl
    .NET
    Forum, Blog, Wiki & CMS
    SQL
    Java
    Others

 Site Management
    Domain Names
    Search Engines
    Website Reviews

 Web Development
  Business Issues

    Business Matters

 Etc.
    The Coffee Lounge
    Computer Issues
    Feedback




Tutorial: RealSystem G2 and SMIL

By Scott Clark Part 7 The images are then located within the par section:
 <img src="forest.rp" id="Top Left Image Stream" region="RealPixChannel1" title="Top Left Image Stream"/> 
The area that the image will be presented in is noted by the "region" parameter of the img tag. In this case, it is the RealPixChannel1 area noted in the head tag. The image is going to appear zero pixels from the left and top, and will be 192 pixels tall and 256 pixels wide. Next we add the audio tracks:
 <audio src="intro.rm" begin="2.0s" id="introSoundtrack" title="introSoundtrack" alt="Intro Riff"/> <audio src="bluesriff.rm" begin="8.0s" id="Soundtrack" title="Soundtrack" alt="Background Riff"/> 
In much the same manner as with the RealPix file, you define when each track will start playing. In this example, the first audio track starts playing in second 2. The third track starts playing in second 8, right before the first track is finished. When you are listening to the example and you hear a drum, that is the second track starting to play. Getting them just right takes a bit of hit-and-miss practice, but it is not difficult. Now that you've created the SMIL and RealPix files and have encoded the audio tracks, you're ready to test the SMIL presentation out! Remember that when you're opening the SMIL file directly from your local machine, you'll need to make the URLs for the files noted in the SMIL file absolute, i.e.


HTML5 Development Center


Recent Articles