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/.
Related
I have a Url encrypted using Azure Media Services. Now I want to play the Url in my android app.My doubt is ,Do we can use any player to play the encyrpted Url ? Or we have to use only Azure Media player to play that Url ? If so,How I can integrate Azure Media Player in my android app.? Please give me a clear documentation on integration.
I'm not sure what the encrypted url you said is. Is it a streaming url for an encrypted media?
As I know, there are many existing player which you can select to play the media content using Azure Media Services, please see the details from the link. And you can embed a MPEG-DASH Adaptive Streaming Video in an HTML5 Application with DASH.js.
Meanwhile, you can try to follow the offical document to develop your own vedio player application to consume streaming media from Azure Media Services in different platform like android as you wish. Just follow the offical workflow as below.
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
I want show a live video streaming from youtube using cordova, but I no sure if it's possible or not.
I readed about youtube.liveBroadcasts.bind bind from Youtube API, but I'm not sure if it's possible using cordova.
exist a way to take this streaming with cordova?
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.
Is it possible to cast a video from YouTube player SDK form android?
Please let me know steps to do it.
Refer the below link for you tube integration
Open Chromecast youtube video from android application
https://github.com/jlmcdonald/yt-chromecast-demo
I endup creating an webapp with iframe for chromecast device
And for android app, sending message like "load,play,pause" by alerting code in https://github.com/googlecast/CastHelloText-android