Ooyala HTML5 Player - html5-video

Maybe I'm missing something, but hopefully someone here knows better than I...
I'm trying to install Ooyala's video player using their HTML5 API. However, in their HTML5 demo, there's no HTML5 to be found, just a flash player (as in the rest of their examples). Do they not actually have an HTML5 API, or am I doing something wrong? I was expecting video to be dropped in via a <video> tag or object embed or anything other than Flash.

Ooyala has recently upgraded to V3, also they have deprecated AS3 API. V3 supports flash video with HTML5 fallback. Also you can set HTML5 option by default as shown in example below. It's shame they haven't done HTML5 with flash fallback.
You can specify HTML5 platform as shown below. If you don't specify anything, flash version will be used by default with HTML5 fallback.
<script src='http://player.ooyala.com/v3/MzZiMzc1ZDUzZGVlYmMxNzA3Y2MzNjBk?platform=html5'></script>
This demo uses HTML5 version:
http://demo.ooyala.com/product-demos/OOview_Win8/OOView/player.html
More implementation information can be found here:
http://support.ooyala.com/developers/documentation/reference/player_v3_dev_embedplayer.html

The Ooyala Player will use html5 only if it detects that the user is on an iOS device. To test on the Desktop, use Safari. Select Develop -> User Agent -> (Any iOS Device), then open the link.

I am not entirely sure about this. However, I think that Ooyala did not launch HTML5 API yet. As far as I know, Brightcove just launched a Limited Availability of the HTML5 API, and I was under the impression that this was a step ahead in the HTML5 video market.

Related

Video chat in inappbrowser IONIC 4

I am building an application. One feature is to online video call.So my question I have a third party link for a video chat, Can i open that link in inappbroser _blank and start the video chat?
Thanks for the Answer.
As your question description is very short but my understanding says.
NO.
1- _blank will lead to chrome or default browser which is not good at all.
2- If you use inAppBrowser your app might reject an app store and play store as they forced not to use that.

Use WebRtc to deliver hls to Safari on IOS

I found this github repo which allows me to use WebRtc to deliver hls over the WebRtc Datachannel.
The Problem is that it does not support Safari on IOS.
The newest versions of Safari on IOS do support WebRtc datachannels and they have native support for hls playback.
This is my problem is it only possible to use WebRtc for data transfer on Browsers which support Media Source Extensions or can I also use WebRtc to deliver the .ts files to the Safari Browser on IOS?
I am a developer of P2P Media Loader and we are working on iOS support right now. Hopefully, we will have a prototype soon.
On iOS Safari you can exchange video and audio data using WebRTC Data Channels but you can not put that data and play into HTML video element without API like Media Source Extensions.
We are currently testing a different approach to do that on iOS Safari.
iOS Safari doesn't support Media Source Extensions of HTML5 video element.
Therefore, you cannot play synchronized audio and video on iOS Safari by any hand-made approaches that use various API such as Canvas, Web Audio API etc..
iOS Safari has two built-in methods for playing synchronized audio and video:
a. Native HLS playback
b. WebRTC PeerConnection
If you choose WebRTC PeerConnection, you will have to transcode AAC audio used in HLS to Opus audio required by WebRTC, and to transmux HLS to WebRTC.
Ugly, CPU-consuming and really pointless. What does it buy you? Why not to use native HLS playback on iOS Safari? But if you insist on option b, then there is number of software media servers that will do it for you.

Agora SDK compatibility with Safari - both macos and ios

I am building a PWA with Agora broadcasting API. I managed to get the video stream playing on desktop Chrome, but not on Safari. The documentation says Safari is supported on both MacOS and iOS, but it doesn't seem like the case.
When I opened the client page on Safari, instead of playing the video stream, it just create a video player without content. I don't see any data being streamed in the inspector view, or there isn't any activity going on at all.
Do I need to do something different with Safari?
Agora.io provided an auto-diagnostic page for their Web SDK, which may be useful for you:
agora_webrtc_troubleshooting

SoundCloud API v3 Stream not working in Chrome

I have been trying to get this to work for months but it's still not working. It works fine in all browsers except Google Chrome. The problem is audio doesn't stream in Chrome.
Here's a JS fiddle of the most basic example. https://jsfiddle.net/sq23uxqs/
First I include the new javascript SDK
<script src="https://connect.soundcloud.com/sdk/sdk-3.0.0.js"></script>
Then in my Javascript
SC.initialize({
client_id: "78c2f0ffbef212328769a921e5663879"
});
SC.stream('/tracks/293').then(function(player){
player.play();
});
Does anyone know why this is or is it a problem with the API?
After investigation it seems to be related to issues with the flash player. Proof is that if you go here chrome://plugins/ and disactivate the flash player it will work again in Chrome. But obviously when developing a site you don't want the site to work just for you.
Soundcloud Api seems to use soundmanager2 as a base to handle audio stream that itself have 2 modes flash and html5. The issue is that if the flash player is avaible it will try to use it and fail while if it's not available it will just use html5 and work right away.
https://github.com/soundcloud/soundcloud-javascript/issues/39
'rtmp' protocol on chrome causes that issue.. reverse the order of available protocols so 'http' will be before 'rtmp'
if (player.options.protocols[0] === 'rtmp') {
player.options.protocols = player.options.protocols.reverse();
}

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.