• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

googleads/google-media-framework-android: [DEPRECATED] The Google Media Framewor ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

googleads/google-media-framework-android

开源软件地址(OpenSource Url):

https://github.com/googleads/google-media-framework-android

开源编程语言(OpenSource Language):

Java 100.0%

开源软件介绍(OpenSource Introduction):

Google Media Framework for Android

DEPRECATED

As of March 15, 2018, we have stopped development and support for Google Media Framework (GMF) for Android in favor of the new ExoPlayer IMA extension.

Introduction

The Google Media Framework (GMF) is a lightweight media player designed to make video playback and integration with the Google Interactive Media Ads (IMA) SDK on Android easier.

Google Media Framework Android Demo

The framework is currently in beta, allowing interested developers to try it out and send feedback before we finalize the APIs and features.

Features

  • A customizable video player UI for video playback on Android
    • Logo and branding colors
    • Action buttons within video UI for other actions (ex. share or download)
    • Subtitle support
  • Easily integrate the Google IMA SDK to enable advertising on your video content
  • Built on top of ExoPlayer
    • Plays MPEG DASH, HLS and mp4, and easily extended to other video formats

Getting started

Clone the repository

git clone https://github.com/googleads/google-media-framework-android.git GoogleMediaFramework

Then import the project in Android Studio (or build using Gradle via ./gradlew).

Via jCenter

You can also include GMF by adding the following in your project's build.gradle file:

compile 'com.google.android.libraries.mediaframework:mediaframework:X.X.X'

where X.X.X is the version. For the latest version, see the project's Releases. For more details, see the project on Bintray.

Note: this installs the underlying mediaframework library. For the demo package with IMA integration, please download or clone the source.

Documentation

Please see the Javadoc

Wiki

For a detailed description of the project, please see the wiki.

Where do I report issues?

Please report issues on the issues page.

Support

If you have questions about the framework, you can ask them in our google group.

How do I contribute?

See CONTRIBUTING.md for details.

I want to use a newer version of Exoplayer

Change the version of ExoPlayer included in the googlemediaframework package's build.grade:

compile 'com.google.android.exoplayer:exoplayer:rX.X.X'

Note: you may have to modify the code if any underlying ExoPlayer APIs have changed.

Requirements

Deployment

  • Android 4.1+

Development

  • Gradle (1.12 or above)
  • Android Studio (0.8 or above)
    • Build tools version 19.1.0 (installed via SDK manager)
    • Google Play Services version 4.3.23 or higher (installed via SDK manager)
    • Google Repository (installed via SDK manager)
  • ExoPlayer (Included as a jar file)



鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap