Category Archives: media
I have an app that plays audio and video. Audio runs fine under locked screen, but video stops when running under lock. It is exact same code and both are using MediaElement. This is by design. Video is not allowed … Continue reading
Since having a phone tethered to Zune locks the MediaLibrary, I would like to detect in my app when Zune is connected. Is there an API? There is no API designed for this specific purpose. Checking for NetworkInterface.NetworkInterfaceType == NetworkInterfaceType.Ethernet … Continue reading
I am using MediaPlayer, how can I seek to a specific position. MediaPlayer can not seek. Use MediaElement (if your application is Silverlight).
I am trying to play an asx playlist on the phone. I can play the videos individually, but not the asx. The phone pipeline doesn’t support .asx playlists, even though the content in the list may be supported.A work around … Continue reading
How can I play youtube videos in my app? Use the WebBrowserTask and open the target URL in the browser; if the youtube app is installed, it will play, if not installed, it will prompt the user to install and … Continue reading
I see that I can save images to the photos hub. How can I save audio to the music hub? Unfortunately you can’t. You can enumerate audio in the music hub, but the song collection is read-only.