I am using SoundCloud Custom Player on https site, everything works good but on chrome (html5 player) I get console alert that the player loads mp3 file from
http://ak-media.soundcloud.com...
This alert also occurs (on chrome yt-flash-player) while YT embed player (not iframe) loads video or crossdomain file from http
Is it possible to force those players to load source from https?
Could you please clarify what do you mean by SoundCloud Custom Player? Your own player which is built on top of Widget API or a standard (iframe-based) one?
I don't see any http request for widgets served via HTTPS.
Could you provide us with an example?
Related
I am using HTML5 Audio Player to play secured audio stream which requires basic authentication. When I click on play button media player gets disappear automatically.
But when I copy the URL and paste that in new tab, it asks for credentials and then start playing it on browser. So, when I play recording (with basic authentication) on browser just once, HTML5 audio mediaplayer also start playing recording (as credentials are saved on browser now).
<audio id="{{call.id}}" ng-src="{{audio_src}}" controls autoplay>
Your browser does not support the audio tag.
</audio>
And this the sample URL to access Media File to play:
https://username:password#192.168.1.1:1234/recordedMedia/oramedia/mp4/2b152495b72811.mp4
I am using Mozilla Firefox, Do I need to make any configurational change in my browser setting or any other workaround?
So we are working on developing a ChromeCast custom receiver app and we are using the YouTube iFrame API for loading YT videos. The issue is that we are seeing the banner ads across the bottom while they are playing on the ChromeCast. Obviously, there is no way for the user to interact with or close this ad while the video is being cast to the ChromeCast. Does anyone know if there is a way to disable these ads types when the video is being cast? I understand that the ads are controlled by the content owner, but it seems there would be a more effective ad then one that a user can't even click through to on the ChromeCast.
I've managed to upload a video to YouTube via CORS and XMLHttpRequest so that I can provide a progress bar on the uploads. However after the upload gets to 100% and the video appears in the YouTube channel, the error handler is called.
I think this is to do with the nextUrl parameter which has to be provided as part of the form action. Has anyone come across this and does anyone have a workaround?
I've seen this (Can I upload to youtube without a full page refresh using FormData?) on StackOverflow but it doesn't help as I don't want to host the videos on our servers.
Cheers
Simon
I want to develop a WP7 application. In this one, I would like to get video from youtube. For example, videos of a channel.
So, I know, I need youtube API, but I don't find a simple example to subscribe a channel and receive the latest video...
Is it possible ?
Thanks in advance , have a nice day !
I think there are simple RSS feeds for each channel... If there are no RSS feeds, parse the HTML feed (e.g. http://www.youtube.com/user/nokia/feed)
To play youtube videos, see
http://mytoolkit.codeplex.com/wikipage?title=YouTube
WP7 currently doesn't have a standard media layer for YouTube videos and you need the YouTube app in order to be able to play those. Unless you want to work on a low level with the encoding format used by YouTube, but then again - you would have to implement a decoding service.
To play a youtube Video you need to use the WebBrowserTask and open the target URL in the browser; if the youtube app is installed, it will play, if not installed, it will prompt the user to install and then play.
How to subscribe ?
I don't think if it's possible to make that directly from your app...
Does the normal YouTube player (by normal I mean the one you get when you use the embed code iframe) fire an event when playback is completed that I can catch outside the iframe?
As normal cross-domain javascript communication is restricted for security reasons this is not 'normally' possible.
In modern, HTML5 compliant, browsers a new method was introduced: postMessage. To be able to do exactly that: safe cross-domain communication in Javascript.
The iframe YouTube player 'posts' out an onStateChanged event with different stati. To enable this interaction however, you need to use Javascript to embed the iframe player.
Check out the following link to see how it's done.
(Experimental feature by the way...)
http://code.google.com/intl/nl/apis/youtube/iframe_api_reference.html