Using YouTube as hosting platform to embed videos with download functionality? - android

I need to embed videos in my android/ios app and I'm thinking about using Youtube as the hosting platform. Besides just playing the videos, it should be possible to download certain videos.
I know apps for downloading youtube videos are not allowed but in my case, a user cannot download any videos he wants, just the ones I embedded (from my youtube cannel). Would this use case be allowed in the app stores?
Also are there other disadvantages for using youtube as a hosting service to embed videos?

Related

Streaming non-youtube videos inside android app

Is there a way to stream non-youtube videos(videos that are not uploaded on youtube) inside android app? Similar to amazon, netflix and other video streaming apps? I am developing an app where the videos may not be necessarily available on youtube.
If the video file has a URL, you can pass it to the MediaPlayer. You may find the ExoPlayer library more powerful.
Not all video storage services will have such URL for you. They may require, just like YouTube, a special SDK, and often cost money.

Search and play YouTube videos on Android app

I am planning on developing an app similar to Snaptube, where a user can search and stream videos on the app just like YouTube. The question is, does YouTube allow for such applications, and how would I go about it in terms of the searching functionality since most tutorials show how just to play videos embedded to the app through a link in methods such as recycler view or web view? Hope I am clear as can be, thanks.
Youtube as an API that is specifically designed to search Videos on their plattform. You can retrieve the found videos and embedd them in your app, so the user can watch the content. YouTube allows such applications.
See https://developers.google.com/youtube/v3/docs/search/list for an API (JAVA) Example of how to search Videos on Youtube. There are Android Libraries that help you with that. They can be found here https://developers.google.com/youtube/android/player/downloads/ and here https://developers.google.com/youtube/v3/quickstart/android.

Play vimeo domain locked videos in mobile app

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.

How can I implement YouTube LiveStream player in iOS and android?

I want to implement a simple livestream to my iOS and android apps.
I can use youtube.com to record the livestream, and broadcast it as a regular video in my apps. I don't want to implement heavy SDKs or build a platform to do so.
What is the best choice?
Have come across - kickflip.io, livestreamsdk.com, ustream.tv, etc.
With the first 2, you have to setup the whole thing. While I was thinking if I can simply embed like a Youtube player which will show the broadcast.
The YouTube Live Streaming API lets you create, update and manage live events on YouTube. The Live Streaming API is actually comprised of components of the YouTube Data API and the YouTube Content ID API.
Before you start:
You need a Google Account to access the Google Developers Console, request an API key and register your app.
Register your app https://developers.google.com/youtube/registering_an_application with Google so that it can submit API request.
After registering your app, select the YouTube Data API as one of the services that your app uses.
Here's a demo app which shows how to use liveBroadcasts, liveBroadcast is a resource represents an event that will streamed via live video on YouTube:
https://github.com/youtube/api-samples/blob/master/python/create_broadcast.py
Made a way out using Youtube Player. Tried both using youtube embed in webview and youtube player using SDK, and it worked just fine. Some manual controls were required to be added to better handle for the live streaming purpose, but the rest worked smooth.
Used Wirecast for streaming the media (broadcasting) to Youtube, and youtube's rtmp handles the rest nearly.

Play vimeo domain restricted videos on mobile app

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.

Categories

Resources