|
-
Video play method doesn't work
I am developing with an HTC Mogul having WM6. The following invokes the video player just fine: "getURL('file:///test.3gp');"
but this returns with "undefined" in the text field: "var myVideo:Video = new Video(); Text.htmlText = myVideo.play('file:///test.3gp');"
Am I doing this wrong or are "Video" methods not supported on WM6?
-
Additional information
I neglected to state that I am coding Flash Lite ActionScript 2.0 running on the standalone Flash Lite 2.1 Developer.
-
I dont have a windows mobile device to test with. However, I dont think the video class play methods necessarily returns a value. Have you been able to get the video to play by placing it on the stage, giving it an instance name, and calling the video play method?
There seem to be a lot of problems with video on Windows Mobile. The FL2.1 player for Windows Mobile was not beta tested very thoroughly.
Flash Lite 3.0 will be available on Windows Mobile later this year as part of the browser. Hopefully this will be a more thoroughly tested player.
-
This is from page 667 of the ActionScript 2.0 Ref Manual for FL 2.1:
"play (Video.play method)
Returns: Boolean - A value of true if the mobile device can render the video; otherwise, false."
I use the text field for debugging purposes. Since I am developing all this in VB.NET I have no desktop app for testing. It sounds like Video is not well supported for now, so I guess I'll just keep using the getURL method.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|