IMA SDK integration for Android app, with videoview and MediaPlayer - android

I am integrating IMA SDK in my Android app, for pre-roll video ads in Videos. I am following the Google tutorial and the sample app provided in the link: https://developers.google.com/interactive-media-ads/docs/sdks/android/quickstart
In the sample app, VideoPlayer interface is used in conjunction with VideoAdPlayer from SDK. In our code we are using VideoView in a fragment for playing the videos, along with media player.
Since the illustartion in sample app is different than what has been done in our app, proceeding with intergaration is being little challenging.
Can someone give me details on how to integrate IMA SDK, with VideoView and MediaPlayer, and is it possible to pass only the AdUiContainer while requesting the Ad and not include any VideoPlayer instance?
Any suggestion would be a great help, thanks in advance.

Related

Google IMA3 sdk , which is best video player to use android

I am new to work with Google IMA3 SDK for displaying video ads througt DFP, I just went through Quick start IMA android , it says I can use Google Media Framework (GMF) OR Android Videoview
Android Videoview
This is not customised to work with Google IMA3 , as far as I know , I have to do extra work with is player for pre-roll , mid-roll & post-roll concept.
Google Media Framework (GMF)
The Google Media Framework (GMF) is a lightweight media player designed to make video playback and integration with the Google IMA SDK on Android easier. BUT this is still in beta version . There are still quite OPEN ISSUES
This IMA3: Video technology partners , in this link they say I can use any of them , Are they OPEN SOURCE.
I am still confused what to do

Dailymotion Video in listview Android

How do I show the list of "DAILYMOTION" videos in android?
Also how do I play them?
I am able to play single video, but I now want to show more than 25 videos in a list.
How can I do this?
This is more works than supposed to be on a simple stackoverflow question!
You can:
list videos using Dailymotion API (documentation here https://developer.dailymotion.com/api)
and then play them using the Dailymotion video player. Here you'll find the documentation about the Android Player SDK: https://developer.dailymotion.com/tools/sdks#sdk-android that is a thin wrapper around a WebView that allows to easily embed Dailymotion videos into your Android application. You can check the source code, documentation and sample app on the GitHub repo: https://github.com/dailymotion/dailymotion-sdk-android/tree/master.
There even is a sample app that may help you get started! https://github.com/dailymotion/dailymotion-sdk-android/tree/master/SampleApp

Exoplayer with google IMA SDK

I am trying to implement google ima sdk for exoplayer for preroll post roll ad rendering. Currently i am using the almost exact implementation of exoplayer as mentioned in github link https://github.com/google/ExoPlayer/tree/master/demo
Can anyone tell me how to proceed the integration using exoplayer and where should i implement my callbacks and the ad tag parameter handling so that i can make it work with exoplayer and not create a separate videoplayer implementation to handle ads. Please help
The way to implement Google IMA with ExoPlayer is the same way as it's explained with the built in Android Media Player. The callbacks and events are going to be the same, instead calling the mediaPlayer.play() you need to call your Exo's wrapper play method.
You can checkout this project from Google: Google Media Framework
It is a video player with integrated IMA SDK and built on top of ExoPlayer (yeah).

Sample code for Azure Media Player

I have uploaded a video to azure media services which I am able to view in browser.
Now I want show this video in my android app and should be able to programmatically..
Pause
Play
Jump to particular time.
Will I be able to do this on android? Is there any sample code that can help me in this regard?
We could deliver either HLS v3 or v4 to Android devices:http://mingfeiy.com/android-hls-playback-via-azure-media-services. You can use Android Native SDK to playback the HLS steam.We don't offer an Android SDK. If you are looking for a web player, you can try our Azure Media Player: http://azure.microsoft.com/blog/2015/04/15/announcing-azure-media-player/.

Vimeo android sdk : Is there any vimeo API like Youtube to play vimeo videos?

I have to implement Vimeo video player in my android Application. I have found few solutions like playing video in WebView etc. But this is not a proper way. Need help
Vimeo provides API's which are found at:
http://developer.vimeo.com/apis/simple
vimeo-networking is a Java networking library used for interacting with the Vimeo API. The example provided in this project shows the implementation in the context of an Android app.
https://github.com/vimeo/vimeo-networking-java

Categories

Resources