Google IMA3 sdk , which is best video player to use android - 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

Related

Use Youtube API in Android TV

I want to play youtube videos in my Android TV APP.
I am also working on a Android phone/tablet APP and I was able to use Youtube Android API to play videos.
But when I try to use the same API on Android TV it gives me an error ("This app won't work unless you update the YouTube"), but my youtube is updated.
I found this issue in the YouTube Android Player API issue tracker, it is the same problem that I am facing here, so I want to know if someone have a solution, or know another version of the API that may work. I am using YouTube Player Android API v1.2.2.
I know that I can open youtube via Intent, but I need to use the YouTube API to show videos.
The YouTube playback API may not work on Android TV, but you can always implement your own playing mechanism in-app. Take a look at YouTube's web player API: https://developers.google.com/youtube/iframe_api_reference
You can load a WebView in your app and from there add an iframe and JS logic to integrate with your controller.
To interface between your JS and Java code, take a look at a project like this: https://github.com/Fleker/WebGameBridge.js for how to use the WebView APIs.
In terms of getting data, there are also web APIs for this that you can access through your WebView.
I've created YoutubeTV library, a wrapper for YouTube Player API Reference for iframe Embeds
It provides a YoutubeTvView that embeds a Webview with Youtube iframe with all Javascript API available from this view.
Also, YoutubeTvFragment holds a YoutubeTvView with a media control bar (PlaybackOverlayFragment)
I have the same understanding with you. YouTube API works only smartphone YouTube app and not for Android TV YouTube app.
I think if you are thinking of publishing Android TV app, you cannot use YouTube Player Android API except Intent for now. Because you should expect user installs Android TV YouTube app.
For reference,
Current behavior of YouTube Android Player API is summarized here.
Source code which uses YouTube Intent to play YouTube video in Android TV.

IMA SDK integration for Android app, with videoview and MediaPlayer

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.

Cast Youtube videos inside my Android app directly to Youtube (in chromecast or roku or tv)

I am building an Android app with my youtube videos. I want to add casting support to these videos within my app. I don't want to build separate receiver app in chromecast but want to just use the existing youtube receiver app in chromecast/Roku..etc.
I am currently using 'Youtube Android Player' API to embed videos in my app but I can't find the cast support in-built. I am willing to move to just HTML5 youtube embedding if casting support works that way.
Would greatly appreciate if someone can suggest a way if they are able build such cast'ing support of youtube videos in their android app?
(I have researched internet and some of the 2013 & early '14 posts suggest it's not possible. Would like to know if anything has changed since then)
There is currently no support in the Cast SDK to cast YT videos; some folks have used a custom receiver and have used embedded iframe to show YT videos but that is not a perfect solution and has issues; for example you cannot skip ads, etc.

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/.

Integrating VLC or any other third-party video player in Android app

I have an Android app which stream video from the Internet. The owners of the app doesn't want to use the native Android video player. What they want is to have any third-party (preferably Open-source) video player to be integrated in this app.I don't really know what its implications could be.
I came to know that Dolphin and VLC, they both are open-source, but what I don't know is, if they provide their SDK for integration into an app or not.
So, I have the following questions -
Do we have some third-party player (their SDK) to be integrated into an app?
Do we have tutorials of how-to implement them?
I've searched a lot for this but didn't get anything.
Do we have some third-party player (their SDK) to be integrated into an app?
- You can try our product, NexPlayer SDK, in www.nexstreaming.com
It is not an open-source player obviously, but you could get a demo and try to integrate in you app.
Do we have tutorials of how-to implement them?
- It's an SDK + sample app and has full documentation about the SDK.

Categories

Resources