Play Multiple format Video, and audio file in Application - objective-c

Hi I am developing Live TV and Radio mobile app. So I wanted to play multiple type video file in one player. Mostly Application play live streaming Video and audio files. I also wanted to play YouTube video also through player. So is there any library or sdk available.

For video and audio files you can use GUIPlayer.
For playing youtube video you have to use Youtube Player.
In single custom you have to use the respected player

Related

How to make simple Audio Player in React Native

I am working on React-Native application. I have to play Audio using URL(podcast) source.
The UI should be like following.
I have tried react-native-video library, But, The UI is different.
https://www.npmjs.com/package/react-native-video
Is there any other library available to achieve this?
I have to show Progressbar(Slider), Play/Pause/Stop, Title. And I have to play audio in background state too.
Any suggestions?
You can use this library,
it has everything like Play audio files, stream audio from URL
https://www.npmjs.com/package/react-native-sound-player
react-native-track-player provides almost all features a audio player, you can also use it to play audio in background, used it for this app

How to automate the Leep Seek/Reading for video player(HTML5) in Appium?

I am automating the HTML5 Video Player. I do not want only Play/Pause/Load actions on a Player but also I want to automate Leep Seek/Reading for a Player. I want to automate the content which is present in the player using Appium. I have an Android app which contains the player.
How we can automate what is going on inside the video at a specific time? Is there any external tool or Jar present to automate this activity for HTML5 Video Player?
You can use OpenCV library to process video player screenshots (e.g. some parts of it, like video content) made with Appium.
And the cool thing is that Appium already supports this library under the hood
Since you mentioned HTML5 I recommend checking WebDriver-based examples.

Can I use Video.JS as an audio player?

Can I use Video JS as an audio player if I did the following:
changed the <video> tags to <audio>
Removed the video area (where the video is shown)
Would more than that be required? I love the player and would like a matched style as the rest of my website (with the websites video players that use VideoJS).
VideoJS has rolled out an update to support audio playback.
Video.js 4.9 - Now audio can join the party!
VideoJS currently does not support audio, but there is an open issue on GitHub.
In the meantime you could have a look at videojs-playlist, which is a plugin for Video.js

Youtube videos with Cuepoint JS

Is there any way to handle Youtube videos with Cuepoint JS http://cuepoint.org?
Or do you know any alternative?
I tried popcorn.js but it is complex and i'd have i'd have to make a lot of changes at the Youtube player because it doesn't request HTML5 videos and so on...
And the Video.js also has problems to handle Youtube videos...
I don't want to write one skript for the normal HTML5 player and a diffrent skript Youtube player.
And captions/subtitles to video-js youtube playlist player
http://bestimage.x10.mx/Playlist_yt/YouTube_PlayList.html

Playing youtube/vevo videos on iOS

I've seen the Google blog article explaining the way to embed youtube videos in an iOS app. I've successfully embed videos in my iOS app. BUT, I've seen the WhoSampled app where they are able to play Vevo/youtube videos. Somehow they are able to play those videos and my app is not able to play them. (In my app, there is a blue play circle with a line through it showing that is not playable.)
How do I allow those videos to be playable?
Do I have to setup the youtube link in a specific way or is there a way I need to setup the developer key?
There is a way to get the actual video stream for a given YouTube video instead of the HTML-embedded one. See this project:
https://github.com/hellozimi/HCYoutubeParser
The problem with this approach is that it will likely violate the EULA of YouTube APIs, especially if you are releasing it in a paid application:
In addition, please remember that attempting to play a YouTube video outside of either the YouTube embedded, custom or chromeless player is strictly prohibited by the API Terms of Service.
(source: https://developers.google.com/youtube/creating_monetizable_applications)
You just have to use the iframe embed as opposed to the Flash one.