- From: Daniel WECK <daniel.weck@inrialpes.fr>
- Date: Wed, 02 Jul 2003 16:31:59 +0200
- To: www-smil@w3.org
Hi !
I have no seen any references to the <param/> element in any of the
previous posts concerning text formatting.
http://www.w3.org/TR/smil20/extended-media-object.html#edef-param
Although the W3C SMIL2.0 recommendation doesn't specify how to interpret
the name/value pairs,
RealOne v2 player actually does a good job with support for text formatting
using the "param" element.
http://service.real.com/help/library/guides/realone/ProductionGuide/HTML/htmfiles/cliptags.htm#251363
I think Grins SMIL2.0 player supports text formatting using the <param/>
element,
but I'm not quite sure as I currently have no licence for this commercial
player.
(And no evaluation licences are available)
The xSmiles.org player doesn't support text formatting using the <param/>
element.
(It simply skips the <param/> elements, and displays non-formatted text.
That's also the behaviour of the "old" RealOne v1 player)
The LimSee2 authoring tool developed by the INRIA
( http://wam.inrialpes.fr/software/limsee2/ )
supports the <param/> element for text formatting.
Note:
LimSee2 supports HTML for text formatting, so URIs to external HTML files
can be used in the "src" attribute, but bear in mind that RealOne doesn't
support HTML.
(xSmiles.org does though)
Example:
--8<-- snip snip ------------------
<text src="data:,Some_TEXT">
<param name="backgroundColor" value="WHITE"/>
<param name="fontColor" value="RED"/>
<param name="fontFace" value="Arial"/>
<param name="fontWeight" value="bold"/>
<param name="fontStyle" value="italic"/>
<param name="fontSize" value="6"/>
<param name="hAlign" value="right"/>
<param name="vAlign" value="top"/>
</text>
--8<-- snip snip ------------------
Note:
When using the "data" protocol for the URI in the "src" attribute value
(inline text),
all space " " characters must be replaced by "%20" if the file is to be
played in
RealOne player. The xSmiles.org player accepts spaces in the inline text,
but it unfortunately
doesn't convert "%20" as a space character when found.
(That's why the provided example uses the underscore "_" character, so that the
text looks the same from one player to the other)
As a result, it's best to use links to external *.txt files instead of
inline text, for obvious compatibility reasons.
( More info here:
http://service.real.com/help/library/guides/realone/ProductionGuide/HTML/htmfiles/cliptags.htm#231443
)
====================================================
Daniel WECK
Computer Software Engineer
LimSee2 Project Manager
INRIA / WAM
Office B212,
INRIA-Rhone-Alpes
655, av. de l'Europe
38 334 Montbonnot
Phone: +33 (0)4 76 61 54 93
eMail: Daniel.Weck@inrialpes.fr
ICQ: 158241579
WWW Links:
--------------------
LimSee2:
http://wam.inrialpes.fr/software/limsee2/
WAM Research Group:
http://www.inria.fr/recherche/equipes/wam.en.html
http://wam.inrialpes.fr/
INRIA:
http://www.inria.fr/index.en.html
Personal Web Page:
http://daniel.weck.free.fr
====================================================
Received on Wednesday, 2 July 2003 10:55:03 UTC