Play a video

You can play videos from your apps using the MediaPlayerLauncher. In this example, we have added them in a Video folder inside our Widget. After that, you need to call from your Javascript the next function:

window.external.Notify("PlayVideo('./Widget/Video/yourVideoFile.wmv)");
You can use the different codecs supported on Windows Phone 7 -> http://msdn.microsoft.com/en-us/library/ff462087(VS.92).aspx

Last edited May 12, 2011 at 12:56 PM by onir, version 1

Comments

No comments yet.