I am using google chromeCast for casting the video. I have successfully cast a video from my app to TV but not able to find any solution for controlling that video like play pause and move forward. Is this possible with Xamarin?
Related
I am trying to cast video from app (android and ios) to Roku device. Using External Control Protocol (ECP), able to connect with roku device and cast video on roku device.
Cast video Rest API url: http://192.168.137.123:8060/input/15985?t=v&u=http%3A%2F%2Fd1fb1b55vzzqwl.cloudfront.net%2Fen-us%2Ftorahclass%2Fvideo%2Fot%2Fdaniel%2Fvideo-daniel-l01-intro.mp4&k=(null)&videoName=Connect+SDK&videoFormat=mp4
Play and Pause video url: http://192.168.137.123:8060/keypress/Play
This two features is working fine.
I am not able to find solution for following points:
As per document, their are forward and rewind command is available. I tried following url but It is not working
http://192.168.137.123:8060/keypress/Fwd
http://192.168.137.123:8060/keypress/Rev
I want add feature of video seek to particular position and video current position information. I not able to find details for this. On Youtube and Netflix app can have this features so there will be some way to achieve this feature?
Any help will be appreciated.
I want to create an app that allows you to watch regular Youtube videos in a VR headset (that's normal videos, not VR 360 videos).
Does anyone know how to embed two youtube viewers in the same activity, playing the same video to create the stereoscopic views for a VR type app?
It doesn't seem you can do with with the Youtube Android API as it only lets you play one Youtube viewer at a time.
It's definitely possible, as this app shows ...
https://play.google.com/store/apps/details?id=com.ekm.youtubevr3dvideos
Thanks in advance.
As stated by #Tempus, you can use the Google Cardboard which lets you experience virtual reality in a simple and fun way. With Cardboard and the YouTube mobile app, you can even watch 360 degree videos for an immersive experience.
Also, you can check this documentation on how to embed VR view.
VR View sample code:
There are two sample apps which demonstrate the VR View functionality in the SDK: simplepanowidget and simplevideowidget. Both of these samples are single activity applications that display an embedded panoramic image or video using VrPanoramaView and VrVideoView, respectively.
We are developing a native Android native app and are considering our options when it comes to video players (JW Player, .etc). Does anyone know of a video player for Android SDK that supports Chromecast? I have seen players that support HLS, etc but not Chromecast as of yet. Any ideas? Thanks.
If you are looking to enable casting for your application, I would use the CastCompanionLibrary located here:
https://github.com/googlecast/CastCompanionLibrary-android
Using this will allow you to cast videos from your app. As far as playing media within the app itself use the MediaPlayer view and add a custom button for chromecast if one is detected.
I am trying to play a video inside my app. Now as a source I only have the public URL of the video, e.g
www.youtube.com/watch?v=0OnPN6YxPuc
Can i use this to play the video inside the app, like using the videoView or MediaPlayer or something like that? The video can be from any provider, not specifically from Youtube e.g Vimeo, Dailymotion etc.
Currently i am using intent on click and it opens the browser or some app if installed and plays the video there. I want it to play inline. Webview is an option but the problem is Android v 4 > has good HTML5 support n bad Flash support, and <4 have good flash and bad HTMl5.
Is it the only option i have? Any pointers would be a great help.
I'm looking for a solution about YouTube in Android.
When my WebView in app connects an webpage, some pages may have embedded YouTube clip.
When I press the RED play button in the center of embedded clip, it plays well. Yes I set enabled JavaScript , plugins, hardware acceleration etc. But it ONLY plays in the WebView internal media player.
I've tried with several libraries such like YouTube API that provided by Google, but It just provides Views and interfaces, and cannot convert a YouTube clip in WebView to a YouTubeView (If you know how to convert, let me know).
All I want is simple. Hit a red play button in embedded YouTube, then my app launches YouTube App (or stock media player) so play the YouTube clip.
iPhone can do this very simply with the stock player, but I can't understand why Android can't do so.
Please check whether "YouTube" application is install on your device? If yes then just update it.And most of the time you tube application not working properly on emulator..