ios - 如何在 tvOS 上深度链接到 Netflix?

标签 ios deep-linking tvos netflix

我希望在新的第 4 代 Apple TV 上的 Netflix 应用程序中打开指向节目或电影的深层链接。

我能够在 iOS 上进行深度链接。下面的链接将打开 Netflix 应用程序以显示特定的节目或电影。

nflx://title/{showID}
for house of cards it's: nflx://title/70178217

当我在 Apple TV 上尝试相同的格式时,所发生的只是 Netflix 应用程序在打开时没有打开特定的节目或电影。 Siri 搜索可以将应用程序直接打开到媒体项,因此似乎应该有一种方法可以实现这一点。

最佳答案

想通了。事实证明,您可以使用常规的 netflix url 结构,但将 http 替换为 nflx。

nflx://www.netflix.com/title/70291117 - Will open a show page
nflx://www.netflix.com/watch/70291117 - Will begin playing the video

关于ios - 如何在 tvOS 上深度链接到 Netflix?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34730105/

相关文章:

react-native - react native 导航: Deep link events not being fired when Tabs and Side Drawer are reloaded

Firebase 动态链接 - 如何在链接内发送附加数据?

swift - 我可以为 Apple TV 自定义键盘布局吗?

ios - 我怎样才能把两个委托(delegate)给一个 View Controller

ios - Swift - 为什么 AFHTTPSessionManager 需要 init(coder)?

ios - 如何在 Swift 中获得 Bool 的相反值?

ios - 为多个 ViewController 未 100% 工作的 segue 问题做准备

javascript - 如果已安装,则通过深层链接打开 Android 应用程序;如果未安装,则返回到 Web

swift - 如何处理 tvOS Remote 中的菜单按钮操作

swift - 使用 Swift 2 测试 CloudKit 中是否存在记录