Academic Tutorials



English | French | Portugese | German | Italian
Google

Home Source Codes E-Books Downloads Contact Us About Us

SMIL Tutorial
SMIL Introduction
SMIL-Files
SMIL HTML
SMIL XHTML
SMIL Timing
SMIL Sequence
SMIL Parallel
SMIL Transitions
SMIL Media
SMIL Summary

HTML Tutorials
HTML Tutorial
XHTML Tutorial
CSS Tutorial
TCP/IP Tutorial
XML Tutorials
XML Tutorial
XSL Tutorial
XSLT Tutorial
DTD Tutorial
Schema Tutorial
XForms Tutorial
XSL-FO Tutorial
XML DOM Tutorial
XLink Tutorial
XQuery Tutorial
XPath Tutorial
XPointer Tutorial
RDF Tutorial
SOAP Tutorial
WSDL Tutorial
RSS Tutorial
WAP Tutorial
Web Services Tutorial
Browser Scripting
JavaScript Tutorial
VBScript Tutorial
AJAX Tutorial
DHTML Tutorial
HTML DOM Tutorial
WMLScript Tutorial
E4X Tutorial
Server Scripting
ASP Tutorial
PHP Tutorial
PERL Tutorial
SQL Tutorial
ADO Tutorial
.NET (dotnet)
Microsoft.Net
XML Web Services
ASP.Net
.Net Mobile
C# : C Sharp
ADO.NET
VB.NET
Multimedia
SVG Tutorial
Flash Tutorial
Media Tutorial
SMIL Tutorial
Web Building
Web Browsers
Web Hosting
W3C Tutorial
Web Building
Web Quality
Web Semantic
Web Careers
Java Tutorials
Java Tutorial
JSP Tutorial
Servlets Tutorial
Struts Tutorial
EJB Tutorial
JMS Tutorial
JMX Tutorial
Programming Langauges
C Tutorial
C++ Tutorial
Visual Basic Tutorial
Data Structures Using C
Soft Skills
Communication Skills
Time Management
Project Management
Team Work
Leadership Skills
Corporate Communication
Negotiation Skills


SMIL Sequence

Previous Next



SMIL Sequence

To play a sequence of clips by using SMIL.



Playing Clips

If you want to use SMIL timing and linking with the clips, though, it is easier to define the sequence within a SMIL file. So instead of writing a separate SMIL file for each clip, you write only one SMIL file that defines all of the features of the sequence.

A sequence is the simplest type of SMIL group to create. In the order that you want to play Just list the clips within <seq> and </seq> tags. Following example shows the entire SMIL markup required to play three audio clips in sequence:


<smil xmlns="http://www.w3.org/2001/SMIL20/Language"xmlns:rn="http://features.real.com/2001/SMIL20/Extensions"> <body> <seq> <audio src="rtsp://helixserver.example.com/song1.rm"/> <audio src="rtsp://helixserver.example.com/song2.rm"/> <audio src="rtsp://helixserver.example.com/song3.rm"/> </seq> </body>
</smil>

In the preceding example, the second clip begins when the first clip finish and the third clip begins when the second clip finish. A sequence can include any number of clips, and the clips can be of any type. You could add a video clip to the sequence also.

RealOne Player treats the sequence as a single presentation when you enclose clips in <seq> and </seq> tags. If each clip in the preceding example is two minutes in length. e.g. the RealOne Player status bar indicates that the presentation is six minutes long. Because RealOne Player treats the sequence as a single presentation, viewers can use the timeline slider to seek through all the clips, but cannot choose individual clips through the RealOne Player Play>Next Clip command.




Creating Sequences Without the <seq> Tag

It is not necessary to always use <seq> and </seq> tags to create a clip sequence. Whenever clips are not listed in a groups, RealOne Player play them in sequence. For instance, the following markup, which has no <seq> and </seq> tags, play three audio clips in sequence just like the preceding example:


<smil xmlns="http://www.w3.org/2001/SMIL20/Language"xmlns:rn="http://features.real.com/2001/SMIL20/Extensions"> <body> <audio src="rtsp://helixserver.example.com/song1.rm"/> <audio src="rtsp://helixserver.example.com/song2.rm"/> <audio src="rtsp://helixserver.example.com/song3.rm"/> </body></smil>


RealOne Player treats each clip as a separate presentation when you do not use a <seq> group. Suppose that each clip in the preceding example lasts two minutes. When the sequence start the RealOne Player status bar indicate that the presentation lasts two minutes. When the first clip ends, RealOne Player's timeline slider resets, the second clip starts, and the status bar indicate another two-minute presentation. This action repeats when the third clip plays. At any point, the viewer can select a different clip with the RealOne Player Play>Next Clip command.




List of SMIL elements and attributes:

SMIL Timing Elements

Element Description Ver
<excl> Defines elements to be displayed exclusively 2
<par> Defines elements to be displayed in parallel 1
<seq> Defines elements to be displayed in a sequence 1

SMIL Timing Attributes

Attribute Description Ver
begin Sets the delay before the element is displayed 1
dur Sets the duration for the display 1
endsync Synchronizes the stopping of parallel elements 1
repeatCount Sets the number of repetitions for the display 1

SMIL Media Elements

Element Description Ver
<animation> Defines an animation 1
<audio> Defines an audio clip 1
<brush> Defines a brush 1
<img> Defines an image 1
<param> Defines a parameter 1
<ref> Defines a generic media reference 1
<text> Defines a text 1
<textstream> Defines a textstream 1
<video> Defines a video 1

SMIL Structure Elements

Element Description Ver
<body> Defines the body of a SMIL document 1
<smil> Defines a SMIL document 1



Share And Enjoy:These icons link to social bookmarking sites where readers can share and discover new web pages.
  • blinkbits
  • BlinkList
  • blogmarks
  • co.mments
  • connotea
  • del.icio.us
  • De.lirio.us
  • digg
  • Fark
  • feedmelinks
  • Furl
  • LinkaGoGo
  • Ma.gnolia
  • NewsVine
  • Netvouz
  • RawSugar
  • Reddit
  • scuttle
  • Shadows
  • Simpy
  • Smarking
  • Spurl
  • TailRank
  • Wists
  • YahooMyWeb

Previous Next

Keywords: xml sequence, xsl sequence, smil format, smil tutorial, smil player, xsd sequence, smil example, smil video, smil file, smil files, smil audio, smil multimedia, mms smil, schema sequence, smil text, mpeg sequence, template sequence, format sequence, protein sequence, database sequence, attribute sequence, element sequence, video sequence, example sequence, sequence vector, data sequence, reference sequence, using sequence, generate sequence, tag sequence


HTML Quizes
HTML Quiz
XHTML Quiz
CSS Quiz
TCP/IP Quiz
XML Quizes
XML Quiz
XSL Quiz
XSLT Quiz
DTD Quiz
Schema Quiz
XForms Quiz
XSL-FO Quiz
XML DOM Quiz
XLink Quiz
XQuery Quiz
XPath Quiz
XPointer Quiz
RDF Quiz
SOAP Quiz
WSDL Quiz
RSS Quiz
WAP Quiz
Web Services Quiz
Browser Scripting Quizes
JavaScript Quiz
VBScript Quiz
AJAX Quiz
DHTML Quiz
HTML DOM Quiz
WMLScript Quiz
E4X Quiz
Server Scripting Quizes
ASP Quiz
PHP Quiz
PERL Quiz
SQL Quiz
ADO Quiz
.NET (dotnet) Quizes
Microsoft.Net Quiz
XML Web Services Quiz
ASP.Net Quiz
.Net Mobile Quiz
C# : C Sharp Quiz
ADO.NET Quiz
VB.NET Quiz
Multimedia Quizes
SVG Quiz
Flash Quiz
Media Quiz
SMIL Quiz
Web Building  Quizes
Web Browsers Quiz
Web Hosting Quiz
W3C Quiz
Web Building Quiz
Web Quality Quiz
Web Semantic Quiz
Web Careers Quiz
Java Quizes
Java Quiz
JSP Quiz
Servlets Quiz
Struts Quiz
EJB Quiz
JMS Quiz
JMX Quiz
Programming Langauges Quizes
C Quiz
C++ Quiz
Visual Basic Quiz
Data Structures Using C Quiz
Soft Skills Quizes
Communication Skills Quiz
Time Management Quiz
Project Management Quiz
Team Work Quiz
Leadership Skills Quiz
Corporate Communication Quiz
Negotiation Skills Quiz

Privacy Policy
Copyright © 2003-2008 Vyom Technosoft Pvt. Ltd., All Rights Reserved.