Re: HI Neil Smith - MVP can u look at this post?



Hi - sorry, been offline for a couple of weeks.


The most obvious thing wrong about your URL, you haven't specified a
'protcol' unless it's a cut+paste accident, i.e. '66.249.72.160:8000'
should read 'http://66.249.72.160:8000'


Also, I don't have a WM5 device to test this on, so it's speculation :
But I wonder if it's the uiMode setting that causes a problem ?

I'm not totally sure PIE even on WM5 on your Treo can re-render the
page on the fly. So the player initially will have a uiMode of "full"
as the code is written, setting it to "none" might try to get the
player to render with no UI.

Does it work any better if you set the uiMode in your object tags
<param name="uimode" value="none" />

Then just try to set only the URL in script to see if it works without
throwing an error (i.e. remove the Player.uiMode line)

Even so, the version info 'Windows Media Player 10 Mobile' on this
page says it ought to work :
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmplay10/mmp_sdk/playeruimode.asp



HTH
Cheers - Neil


On 14 Oct 2006 15:13:31 -0700, chaser7016@xxxxxxxxx wrote:

I am trying to create a embedded media player where I can access/play
my online station from both reg. IE and PIE(PocketPC Internet Explorer)
using my Treo 700w.


I am using the following code at www.ryanismy.name. It displays fine
in both IE and PIE, but plays only in IE and not in PIE. In PIE a
windows media error pops up stating, "The parameter is incorrect." I
found two pieces of code within newsgroups, but thought I try to get
this one working first.

<HTML>
<HEAD>
</HEAD>
<BODY>
<OBJECT ID="Player" height="320" width="240"
CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6">
</OBJECT>
<INPUT TYPE="BUTTON" NAME="BtnPlay" VALUE="Play" OnClick="StartMeUp()">
<SCRIPT>
<!--
function StartMeUp ()
{
Player.uiMode = "none";
Player.URL = "66.249.72.160:8000";

}

function ShutMeDown ()
{
Player.controls.stop();

}

-->
</SCRIPT>
</BODY>
</HTML>

Any ideas why, "The parameter is incorrect," message is appearing in
PIE and not in reg. IE?

Thank you so much for reviewing this and help you can extend!

Cheers, Chaser
------------------------------------------------
Digital Media MVP : 2004-2006
http://mvp.support.microsoft.com/mvpfaqs
.


Loading