适用于希望通过 WebView 中的 iframe 播放器在应用程序中添加 YouTube 视频播放的 Android 开发人员的辅助库
适用于希望通过 WebView 中的 iframe 播放器在应用程序中添加 YouTube 视频播放的 Android 开发人员的辅助库
Helper library for Android developers looking to add YouTube video playback in their applications via the iframe player in WebView
use Gradle:
repositories {
jcenter()
}
dependencies {
compile 'com.jaedongchicken:ytplayer:1.4.4'
}Or Maven:
com.jaedongchicken
ytplayer
1.4.4
pom
You can see more detail from MainActivity.java.
Simple use cases will look something like this:
…V 1.4.4 - Open Player when you click the logo.
V 1.4.3 - Fixed player is not to redirect.
v 1.4.2 - fix handler.
v 1.4.1 - Solved UMG block.
v 1.3.0 - added AudioVolume, VideoQualoty in YTParams class.
v 1.2.0 - added YTParams class, many youtube functions defined.
v 1.1.0 - added setWhiteBackgroundColor() method.Jaedong Kim - @JackDinealKIM on GitHub, [email protected]
This is not an official Google product.
Copyright 2016 JD Kim
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.暂无开放 Issues,或尚未同步最近议题。