Video format m3u8 isn't playing iOS React Native - react-native

My endpoint is playing in Android successfull, but in iOS don`t work.
I try next:
Set up exeption in App Transport Security Settings info.plist
React-native-video, param paused:false
I use hls tools
Others link work successfully in htttp o https, whit format m3u8
param type: m3u8
Other component
I need Help, please.
:(

Related

Audio route to speakerphone when using Agora SDK for android

Hey can anyone help me with the agora video sdk for android. I'm unable to route the audio from a video call through the speakerphone. The setEnableSpeakerphone() returns 0 (success). The default audio routing to speakerphone is also enabled while setting up the RtcEngine. Still the audio only comes through the earpiece.
Edit : The issue was missing MODIFY_AUDIO_SETTINGS permission in the manifest. Check your permissions guys :(
If you are using the Agora Android Video SDK then you can use the setDefaultAudioRoutetoSpeakerphone method

Cast vimeo video with Android

I'm developing an app which gets the videos from Vimeo.
How can I cast the video on Miracast/Chromecast?
I'm using the media player.
Thanks.
In order to cast videos from Vimeo, you will need the MP4 links; you would be able to construct MediaInfo objects with these video file links for use with the Cast Companion Library or directly with the Cast SDK. Vimeo provides PRO users with MP4 links to their own videos. See Video File in the Vimeo Java/Android networking library for more info on what you would use to construct the MediaInfo objects.
You could also deeplink into the Vimeo Android App, have it play your video, and at that point users can use the cast button on the Vimeo player to cast the video. Check out the official Vimeo deeplink helper library.
Im getting a error when I cast the vimeo video to my TV.
Im using the account pro, owner of the video.
This is my url http://player.vimeo.com/external/161670290.hd.mp4?s=9f861403dd0f...c034bfde2dae2&profile_id=119&oauth2_token_id=42...082
My tv said that the file type isnt valid.
Checking with other video types, with hls I get the error invalid audio codec.
Im using LG WEBOS with connect sdk, its working with a normal mp4 like http://www.sample-videos.com/video/mp4/720/big_buck_bunny_720p_1mb.mp4
Whats the problem?

mediaelement.js & Dropbox video link

I was looking for a plugin that could play both audio and video files and was happy to come across mediaelement.js. I host all of my audio and video from Dropbox. The audio is playing fine but the video does not, just hangs on the loading screen.
I saw another thread posted here with no response. Below is the shortcode I'm using:
[video src="https://www.dropbox.com/s/udprb5o5p3n6uu8/WCN.mp4" width="242" height="136" poster="http://wellsmartsolutions.com/video/video.png"]
Not other plugins are active that would be causing any conflict. What am I doing wrong?
Try this URL instead: https://dl.dropboxusercontent.com/s/udprb5o5p3n6uu8/WCN.mp4. I've changed the domain to dl.dropboxusercontent.com per https://www.dropbox.com/help/201. This links directly to the video rather than a web page that previews the video.

Can IOS devices stream m3u8 segmented video from the local file system using html5 video and phonegap/cordova?

I'm using phonegap/cordova 2.1 and my app has locally stored assets (on the device) which need to be encrypted on build and decrypted in memory when used in execution. The app is for iPad only.
For the videos I want to implement something similar to http://codebycoffee.com/2012/01/08/decrypting-http-streaming-video-with-nsurlprotocol where mediafilesegmenter is used to segment and encrypt each video file and then a custom encrypted file url protocol serves the key for each video when the video player requests the m3u8 file.
My problem is that I can't seem to play m3u8 files by using the html5 video tag and phonegap/cordova. I have even created unencrypted video segments with the use of mediafilesegmenter as a test. These can be played by opening the m3u8 file with VLC in OSX but when using the video tag in phonegap/cordova I get 'loading...' message followed by a popup saying "The operation could not be completed"
OK so it turns out that m3u8 files have to be served over HTTP and I have gone down the route of bundling a cocoahttpserver https://github.com/robbiehanson/CocoaHTTPServer in with the app. This way I can request the video streams with:
<video src="http://127.0.0.1:12345/path.m3u8"

Youtube video won't load into webView

I am trying to load my video into a webview.
When I use this link. It won't work.
http://www.youtube.com/v/066PWBKrh6k&autoplay=1
But when I try this link. It's the same video but the link is a little bit different. It won't work. Any idea what the problem can be?
http://www.youtube.com/watch?v=066PWBKrh6k&autoplay=1
Kind regards.
You are linking to a flash file. IOS wont play flash. the /v/id path links to a swf for clarification, while the watch link is something IOS might have a handler for to accept standard youtube links but play them in the youtube app. What you really want is a straight url to a mp4 file / h264 which ios will happily play in it's media controls. Youtube will not give you this because the video isn't branded, the branding is an overlay of their flash / html5 player. Your best bet is to use the actual youtube javascript api to embed a html5 player, or at least something compatible with IOS. Or just link to an address IOS has a registered handler for.