How to launch a YouTube URL on Windows Phone 7

后端 未结 7 2212
伪装坚强ぢ
伪装坚强ぢ 2021-02-04 20:23

I would like to launch directly to the YouTube player on Windows Phone 7.

I tried using WebBrowserTask and giving a YouTube URL, it opens up the browser and brings me t

7条回答
  •  -上瘾入骨i
    2021-02-04 20:49

    Try to use following sample;

      WebBrowserTask webBrowserTask = new WebBrowserTask();
      webBrowserTask.Uri = new Uri("http://www.youtube.com/embed/V3oJR5IAMxM?autoplay=1");
      webBrowserTask.Show();
    

    this should open video directly, but I think you will have to still double click to go back.

提交回复
热议问题