How to launch a YouTube URL on Windows Phone 7

后端 未结 7 2160
伪装坚强ぢ
伪装坚强ぢ 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条回答
  • 2021-02-04 20:53

    As you've discovered this isn't currently possible.

    There is currently no way to launch another application, other than by using a Launcher or Chooser.

    On the YouTube site, individual videos can be configured to autoplay or not. I'm not aware of a way to override this.

    However, on the phone this is different. YouTube uses flash to play videos but Flash is not currently supported on the phone. YouTube videos can only be played if the YouTube application is installed. When you open the youtube site with the webbrowsertask the user must click on the image to launch the player.
    If web pages were able to launch applications without first requiring user action this could be a huge security issue.

    N.B. The YouTube app has special elevated privileges, not generally available, to be able to be launched in the way it is.

    0 讨论(0)
提交回复
热议问题