如何在 Xamarin 表单上托管 Vimeo 视频? [英] Howto host Vimeo videos on Xamarin forms?

查看:30
本文介绍了如何在 Xamarin 表单上托管 Vimeo 视频?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我如何获得 Xamarin 移动应用来托管 vimeo 视频播放?虽然我找到了如何播放视频在 Xamarin 中,我看不到如何为 Vimeo 执行此操作?

How do I get Xamarin mobile app to host vimeo video playback? While I found how to play video in Xamarin, I cannot see how to do this for Vimeo?

推荐答案

我将详细介绍我如何为 xamarin 表单应用程序完成此操作.

ill expand on how i've done this for a xamarin forms app.

即.视频网址:https://vimeo.com/135727591

使用以下命令获取配置信息

use the following to get the config info

https://player.vimeo.com/video/{VideoId}/config

https://player.vimeo.com/video/{VideoId}/config

因此获取视频 ID 并使用以下内容获取配置:

so take video id and get the config using the following:

https://player.vimeo.com/video/135727591/config

现在从收到的 json 解析配置文件

now parse the config file from the json received

这篇关于如何在 Xamarin 表单上托管 Vimeo 视频?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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