windows-8uwpwindows-10-universalwindows-8.1-universalwindows-10-desktop

How to launch netflix app with specific movie in windows 10 externally?


I am able to launch netflix app in windows 10 from my own app using launcher (Netflix://), but its failed to launch a specific movie using launcher like netflix://www.netflix.com/watch/70021664).


Solution

  • Since the Netflix App is written in WinJS its easy to read through the Code.

    There are 5 Commands I found:

    So to execute them use following Code:

    await Launcher.LaunchUriAsync(new Uri(@"netflix:/app?playVideoId=12345678"));
    

    I recognized, that if Netflix is not opened it only starts the App. Calling the same Code again, then executes the command. Still figuring out a way to solve this.

    To get the Id of the Series / Video you want to browse / play open it in your browser. In the sample Link I provided you are looking for the (in my case 8-Digit Id) I replaced by videoId:

    https://www.netflix.com/watch/videoId?trackId=00000000