W3C home > Mailing lists > Public > www-smil@w3.org > April to June 2007

SMIL and SWF with realplayer

From: ___ <berlusconigay@gmail.com>
Date: Sat, 30 Jun 2007 00:41:22 +0200
To: "'Sjoerd Mullender'" <sjoerd@acm.org>, <www-smil@w3.org>
Message-ID: <000001c7ba9e$a07c0570$152ca8c0@luca56485194f3>

Hello again,
I need to load a swf file with SMIL from realplayer. I saw the example of
http://www.gosmil.com/ and it loads perfectly on browser and its run by the
realplayer plugin.
If i use the standalone realplayer and open the
http://easylink.playstream.com/gosmil/complex/player.smil link, it works
correctly and the swf is loaded.
In the description page (http://www.gosmil.com/description.html) it's
written how to load swf:

- Animation tag used to display the .swf. It calls the region where the .swf
will be displayed
- And the fill attribute tells the player to keep the .swf in the background
region after it plays
<animation src="player.swf" width="500" height="300" region="background"
fill="freeze"/>

I tried it but realplayer just throw a general error specifying the path of
the .swf i try to load.
I really can't understand why realplayer can play that example while it
doesn't open a local test.smil file.

The test smil file i'm using is:

<smil xmlns="http://www.w3.org/2001/SMIL20/Language">
  <head>
    <layout>
      <root-layout width="800" height="600" backgroundColor="white"/>
     	<region id="flash" title="Flash animation" width="540" height="568"
left="260" top="20" z-index="3"/>
    </layout>
    <transition id="fade_1" dur="2s" type="fade"/>
  </head>
  <body>
    <par>
	<animation src="hit_test.swf" region="flash" fill="freeze"/>
    </par>
  </body>
</smil>

Thanks in advance for the help.

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.476 / Virus Database: 269.9.8/869 - Release Date: 25/06/2007
17.32
 
Received on Friday, 29 June 2007 22:41:59 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:53:29 GMT