Azure Media Player does not play in IE - azure-media-services

With Azure Media Services we can upload video, encode it and get 3 URL's withing locator:
Smooth Streaming URL
HLS URL
MPEG DASH URL
Then, you can add Azure Media Player on the web page and it is supposed to work on all browsers and devices.
I noticed, that event on my one device (PC under Windows) the same video works fine in Chrome and Firefox but does not work with IE.
Here is 3 URL I have got after encoding:
Smooth Streaming
MPEG-DASH
HLS v4
And all of these URLs does not work with IE11 on demo site.
Am I missing something?

Related

Is it possible to provide a URL that returns an m3u8 file to azure media player?

I'm using azure media player to play AES encrypted videos on my website. However, I don't want to use the default HLS streaming uri that comes back.
What I'm doing is loading the m3u8 from the HLS endpoint and adding captions to it directly (Since I can't find a way to add captions through media services itself, if there is one, I'd be all ears). So the url looks something like this: https://website.com/getvideo/100000
This url returns a valid m3u8 file and I can get it playing in other players (unencrypted).
My question is this: Is there a way to get azure media player to recognize this url as a valid return of an m3u8 file? Currently it's not even trying to hit my endpoint and I suspect it's because it's looking for something in the url.
Let me know if you need more information.

Use html5 video streaming backend for flutter app?

I had a node.js server which streamed videos from my local pc to html5 video tags.
I wanted to use this backend to stream videos to my flytter app as well but could find any way to do it.
One solution was to host the file on the server and play it using the video_player plugin.
But I wanted to be able to play it using the same backend whcih responds to a get request containing headers about which block of data is needed and then sends back a response with that data.
Any help?
Example html that plays a video:-
<html>
<title>Welcome</title>
<body>
<video controls>
<source src="http://localhost:8000/movie/0" type="video/mp4"/>
<!-- fallback -->
Your browser does not support the <code>video</code> element.
</video>
</body>
</html>
Node backend responds with appropriate bloks of data based on GET requests from the player.
Well the only data needed is the video streaming link. In your sample it is "http://localhost:8000/movie/0".
Well if you have access to the backend I really advise to you return the request data in Json format but you need to change it in your server application to be able to return html and/or Json data when needed.
If you can't change the server side code one approach is in your flutter app parse the html file and extract the streaming link data by yourself. To do that you can use this flutter plugin to parse the HTML code and access the DOM to extract the video link and use it with video_player plugin as you already know.
Another way is using a webview widget in your flutter app.There is a lot of such plugins available.

pdf download not working on Android with cordova inappbrowser

In my cordova inappbrowser app, pdfs can be downloaded by calling a RESTful service that streams the content to the user's browser (see html snippet below). This works fine on iOS and using Google Chrome directly on Android but not when doing it through cordova inappbrowser. Clicking on the link doesn't do anything. I've tried many of the suggestions here including using gview but no result.
The tag in html is an href (I tried using window.open as well) that evaluates to something like https://xxx/member/get_pdf/217521359ashr868af6as. Using target='_blank' (tried _system also)
where the value after get_pdf is a guid (value above is not the real guid)
The google viewer workoaround that many people propose works fine with a physical pdfs but my files are streamed back from the service above and gview doesn't recognize it as a pdf and shows error 'preview not available' and its not an option to store them physically. Is there some specific header to set to make gview recognize the streamed response as a pdf? I set content_type, Content-length, tried adding Content-disposition with a filename also. No go.
Any suggestions appreciated.
Thanks,
Patrick

CodeIgniter video files not uploading on web server

I have created a codeigniter application with a file upload feature. This is loaded as my Facebook app in a Canvas page. I have set my allowed types as png,jpg, mp4.
When tested on localhost this works fine and uploads well.
However, when uploaded on my server and installed as my canvas app, when I access my page via apps.facebook.com/myapp, the images are uploaded fine, BUT, when I try to upload a mp4 file, thatwas successfully uploaded on localhost version, it returns the upload error "The filetype you are attempting to upload is not allowed.".
But I have set it as an allowed type.
I tried uploading via the canvas url (www.myapps.com/apps) rather than the canvas page (apps.facebook.com/myapp), but it gives the same problem, it says the type is not allowed.
I thought it might be server not configured so I add AddType video/mp4 .mp4 to the server's and app folder's .htaccess.
Also I made sure that mp4 is added in the mime.php in my codeigniter app.
Just not sure what to do again. It keeps saying it's not allowed, but it is.
Any help would be great. How do I fix this?
Try adding the both mime types in the list in the config folder for codeigniter. Like this.
'mp4' => array('video/mp4', 'application/octet-stream')

Need to let user upload video using GWT

I need to let users upload videos in GWT site, and after uploading I should allow them to preview it. I don't need any controls, just a play and stop button would be enough so that I can show them a preview?
Uploading the video to your server is the easy part - that's what the FileUpload Widget is for. You just need to write some sort of end point on the server side - a servlet, PHP script, etc. that will receive the file and store it somewhere.
The tricky part is the preview - AFAIK, you need a media streaming server for that. The only free and good one I know is Red5 (site1, site2, site3 - don't know which one is the current one =_=).
An alternative would be to use an exisiting media streaming site that exposes an API for users to upload videos - like YouTube API. The docs show how to upload a file (directly from the user, or from your server) to the YouTube service - in return you'll get a link or HTML code to embed on your site.