Android应用程序 - 私人viemo视频不打 [英] Android app - private viemo videos not playing

查看:263
本文介绍了Android应用程序 - 私人viemo视频不打的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在开发一个Android手机应用程序。我看到私人Vimeo的视频不是在玩。检查连接的屏幕截图。还要注意的是Android应用程序仍然在开发模式,而不是上传到谷歌。请帮我在这方面。

I'm currently developing an android mobile app. I see that private Vimeo videos are not playing. Check the attached screen shot. Also note that the android app is still on development mode and not uploaded to Google. Please help me in this regard.

问候,
Niladri!

Regards, Niladri!

私人VIMEO视频没有播放

推荐答案

这画面似乎直接访问vimeo.com观看视频。在vimeo.com,民营视频只能如果您已经登录查看(这是无关的API)。

That picture appears to be accessing vimeo.com directly to view videos. At vimeo.com, private videos can only be viewed if you are logged in (which is unrelated to the API).

如果你想发挥你的应用程序的私人视频,您需要按照以下流程之一:

If you want to play a private video in your application you will need to follow one of the following workflows:


  1. 在嵌入式网页视图

  1. Embedded in a webview


  • 标记视频从VIMEO隐藏,但可嵌入在视频的设置

  • 请API请求/视频/ {} VIDEO_ID和提取响应主体嵌入code( response.embed.html

  • 把嵌入code在你的WebView HTML

起到了原生播放器(Vimeo的PRO只)

Played in the Native Player (Vimeo PRO only)


  • 标记与任何隐私的视频设置

  • 请API请求/视频/ {} VIDEO_ID

  • 找到的视频文件( response.files
  • 集合
  • 循环遍历视频文件,找到你的目标玩家的最佳高度和宽度

  • 加载链接到您的原生播放器

您可以在 https://developer.vimeo.com/api 阅读更多关于Vimeo的API和 https://developer.vimeo.com/api/endpoints

You can read more about the Vimeo API at https://developer.vimeo.com/api, and https://developer.vimeo.com/api/endpoints

这篇关于Android应用程序 - 私人viemo视频不打的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆