如何在 Xamarin 表单上托管 Vimeo 视频? [英] Howto host Vimeo videos on Xamarin forms?
问题描述
我如何获得 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屋!