I am developing a ios/android mobile application using phonegap/cordova. The problem is that i want to play a domain locked vimeo video inside it. Currently, I am using iframe to launch the video but I am getting 403 (Forbidden) error.
Is there any way to launch the domain locked vimeo videos inside phonegap/cordova app?
Thank you.
Currently there is no way for a domain-locked video to indicate that it should be playable in a mobile app.
One option is to use direct video file access instead of the embed player. Video file access is available to PRO and Business users.
Related
For embedding Vimeo videos on the web, I just need to set up my Vimeo video to allow embedding for a specific URL (eg. www.myapp.com) and then it works. When I try to view the same video in a React Native app with a web view I get a NSUrlErrorDomain exception.
I've gone through the Vimeo documentation and can't find the answer. Is it possible to do this? Or do I need to make my videos public for it to work?
Domain privacy is on and just like that;
<WebView source={{uri: 'https://player.vimeo.com/video/videoid',headers: {"Referer":"https://yourwebsite.com"}}}/>
Domain privacy for Vimeo embeds requires the HTTP referer to be passed back to the iframe so the Player can determine if the domain where its embedded can play back the video. If you're on a local page without an HTTP referer, then the domain privacy feature will not work.
You'll need to set the video's embed privacy to "Embed anywhere", or use direct video file links (as a PRO or Business member) with the platform's native media player. More info here: https://help.vimeo.com/hc/en-us/articles/224823567-Third-party-player-links
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/.
i have some private vimeo videos with domain restricted for my website, now i need to create a mobile app for the website and integrate these videos. Is it possible with the restricted domain? How do i integrate them with my phonegap app?
In Vimeo's new (currently in beta) API3, PRO members have direct access to their video files. This is the only supported way of implementing Vimeo videos into a mobile devices native player.
You can request access at https://vimeo.com/help/contact
Some webviews support embedding Vimeo videos, but I do not know how embed privacy works in that context.
I did google about this question and I found 4 possible ways to do it:
play the video with the following manner:
startActivity(newIntent(Intent.ACTION_VIEW,Uri.parse(uri)));
Get the RTSP link and play the video with VideoView
play the video using Flash
Using HTML5 iframe
I have an android 4.0 device and I am able to play YouTube videos using the first three methods. My question is: which method is the most adaptable to different version. If the answer is using HTML5, how can I do it. Thank you very much for your time.
The most allround way of doing it to open it with a URI parse. There is also a way of forcing the YouTube app to be called(sorry I think I read it someplace but I do not remember how) and show the video there. This means you do not get the option to chose to open the video in the browser.
The rest of the alternatives are only supported by some devices. (Flash is outdated, HTML5 is not supported on most devices). I you are going to do something else then using the buildt-in YouTube app I would recomend RTSP as the best option.
I am trying to play Youtube video's directly with in my applications in Android. If we give the direct links of the youtube like https://www.youtube.com/watch?v=HnbMYzdjuBs then the device displaying different applications that can open that link after clciking the video icon. If i use https://gdata.youtube.com/feeds/api/videos?q=flowers to fetch the links from Youtube XML services, the RTSP links are working perfectly with in the application but the quality is too bad.
How to fix this issue?
One more question is, i want to play a live video from Youtube. We have a youtube webservice to fetch the links(1,5,6 video types) of a specific vedio ID. We can use the below link to fetch the RTSP link for normal videos http://gdata.youtube.com/feeds/mobile/videos/ll4SoSJgLfI. Which is not working for Live Videos in Youtube. i am not getting the tag media-content. How to show the live streaming video from youtube on android devices ?