Read-only archive of the All About Symbian forum (2001–2013) · About this archive

N95 S603rd Ed FP2 SDK1.1 - movie embed javascript controls

0 replies · 3,773 views · Started 21 November 2008

Hi all,

I'm developing a mobile website, which is going to have streaming video. I have had no issues streaming video to the N95 web browser using the Darwin Streaming Server for testing. The video uses object embed and autostarts when the user navigates to the clip.

I'm trying to add controls, which work perfectly on Firefox and IE6/7, but do not work on the N95. I'm using DoPlay(); DoPause(); and DoStop();, which are used to control realplayer. Are these not compatible with the mobile version of realplayer or the does the N95 not support this javascript?

Any help and advice would be grealy appreciated.

Here's a snippet of my code:

<object id="player" type="audio/x-pn-realaudio-plugin" classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" width="176" height="150">
<param name="src" value="rtsp://10.37.220.72/s.3gp" />
<param name="console" value="vidplayer" />
<param name="controls" value="ImageWindow" />
<param name="AutoStart" value="true" />
<param name="backgroundcolor" value="white" />
<embed name="player" type="audio/x-pn-realaudio-plugin" src="rtsp://10.37.220.72/s.3gp?embed" width="176" height="150" autostart="true" controls="ImageWindow" console="vidplayer" nojava="true" backgroundcolor="white" />
<noembed><a href="rtsp://10.37.220.72/s.3gp">Play with RealOne Player</a>
</noembed>
</object>

<p>
input type="button" value="Play" class="btn" onclick="document.player.DoPlay();" />
<input type="button" value="Pause" class="btn" onclick="document.player.DoPause();" />
<input type="button" value="Stop" class="btn" onclick="document.player.DoStop();" />
</p>

Kind Regards,

Darren