如何嵌入科尔多瓦Android应用的Youtube视频 [英] How to embed Youtube video in Cordova Android app

查看:159
本文介绍了如何嵌入科尔多瓦Android应用的Youtube视频的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是新来科尔多瓦应用开发。我有一个YouTube网址,我想打在科尔多瓦的应用程序的视频。我看到一些YouTube的API(库)是存在的,也是经过与iframe中。那么我必须做的。请建议。
谢谢进阶

I am new to Cordova App development. I have a Youtube URL and I want to play the video in Cordova app. I saw some YouTube Api(Library) is there and Checked with iframe also. Then what I have to do. Please suggest. Thanks in adv.

推荐答案

使用iframe是preferred和建议的方式嵌入YouTube视频,所以这是你需要如何进行。从 YoutTube iframe的API 参考负载和两个工作iOS版(测试入门code在iOS 7)和Android在Android 4.3(测试)。

Using iframe is the preferred and suggested way to embed youtube videos, so this is how you need to proceed. The getting started code from the YoutTube iframe API reference loads and works in both iOS (tested on iOS 7) and Android (tested on Android 4.3).

这篇关于如何嵌入科尔多瓦Android应用的Youtube视频的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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