Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


tabbycat

2 posts

Wannabe Geek


#9834 17-Oct-2006 03:59
Send private message

I am trying to embed Windows Media Player 10 Mobile into IE Mobile on the Axim x510 with Windows Mobile 5.0 and WMP 10 Mobile. I have viewed a sample from Microsoft posted 8/2005.

http://www.microsoft.com/downloads/details.aspx?FamilyID=46ba698a-c00d-4b90-9177-460854f1b57c&displaylang=en

However, I am having problems using it on the device. I get an error stating "The system cannot find the file specified" when the page loads. I can get the page to work when viewing it on a normal PC in IE but it will not work on the PDA.

In an attempt to get a working version I have been using a simplified version of the embedded code.

[code]

<html><body>

<OBJECT id="VIDEO" width="320" height="240"
    style="position:absolute; left:0;top:0;"
    CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"
    type="application/x-oleobject">
   
    <PARAM NAME="URL" VALUE="test.wmv">
    <PARAM NAME="SendPlayStateChangeEvents" VALUE="True">
    <PARAM NAME="AutoStart" VALUE="True">
    <PARAM name="uiMode" value="none">
    <PARAM name="PlayCount" value="9999">
</OBJECT>

</body></html>

[/code]

The web page and video file are located in the same directory on the PDA. I can play the video when I directly view it in WMP but it does not play when embedded. I have tried to use an absolute path but that failed as well. Am I formatting the video path correctly? Are there only certain video types that will work as embedded?

Am I embedding the WMP correctly for a PDA? Any help would be much appreciated.

[Moderator edit (JF): URL Hyperlinked]

Create new topic
freitasm
BDFL - Memuneh
80652 posts

Uber Geek
+1 received by user: 41044

Administrator
ID Verified
Trusted
Geekzone
Lifetime subscriber

#48852 17-Oct-2006 14:41
Send private message

Have you tried the following format for the filename?

file://\my documents\myfile.wmv






Referral links: Quic Broadband (free setup code: R587125ERQ6VE) | Samsung | AliExpress | Wise | Sharesies 

 

Support Geekzone by subscribing (browse ads-free), or making a one-off or recurring donation through PressPatron.

 




tabbycat

2 posts

Wannabe Geek


  #48941 18-Oct-2006 04:27
Send private message

That worked!  You made my day!  I had tried the absolute path but I had put in the "%20" for the space in the "My Documents" path.  I also took out some of the extra stuff so it was bare bones.  This is the sample that worked:

[code]

<html><body>

<OBJECT id="VIDEO" width="400" height="300"
    CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"
    type="application/x-oleobject">
   
    <PARAM NAME="URL" VALUE="file://\my documents\videos\test.wmv">
</OBJECT>

</body></html>

[/code]

Thanks, freitasm!

Create new topic








Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.