在wp7中使用媒体启动器播放vimeo视频

时间:2013-12-20 11:32:44

标签: c# windows-phone-7

如何使用媒体启动器播放vimeo视频,我的代码:

MediaPlayerLauncher mediaPlayerLauncher = new MediaPlayerLauncher();
mediaPlayerLauncher.Media = new Uri("http://www.vimeo.com/39485693", UriKind.Absolute);
mediaPlayerLauncher.Location = MediaLocationType.Data;
mediaPlayerLauncher.Controls = MediaPlaybackControls.Pause | MediaPlaybackControls.Stop;
mediaPlayerLauncher.Orientation = MediaPlayerOrientation.Landscape;
mediaPlayerLauncher.Show();

但是视频没有播放,可能是因为视频格式。任何解决方案?

0 个答案:

没有答案