Video playing issue in windows azure web site - azure-web-app-service

This is the first time I am working with Azure website. I have successfully deployed my website into Azure website cloud hosting space. Everything is working pretty fine, and as desired. But I am facing issues in my video page. Am providing 2 urls, hosted in the same location.
http://masan.azurewebsites.net/video/demo.html
http://masan.azurewebsites.net/video/demo1.html
First video is playing (.mp4), after adding the necessary mimeMap tag in my web.configfile. First demo.html contains a video being called from an external url.
Second video in demo1.html (.mp4) contain video hosted in the same server as the page, which is not playing.
Could somebody please guide me, what should I do to make my second page to also start playing the .mp4 video
Thank you

Sorry to bother you all, there was no issue only, since the video in demo1.html was of wrong format, it was not playing.
So the answer to the above is: Just need to add the mimeMap tag in web.config, will work seamlessly. Thank you.

Related

The playback of a .wmv video is balky on SharePoint Online; it stops and starts. Can I fix it?

To discover all my options for playing a .wmv video on my SharePoint Online site,. I configured 1) a Hero web part, 2) a Quick Links web part set up in several different ways, and 3) a File-Viewer web part. It obviously doesn't matter which web part I use, because in ALL cases, the video stops and starts during playback. The actual .wmv is stored in the Site Assets folder for the page on which the web parts are configured.
Do others have this problem?
What can I do to fix it?
Should I be using a different video format like MOV or AVI or something else?
Should I have stored the .wmv somewhere else?
To answer your questions:
Per my test, I could not reproduce your issue.
Since videos stored in Microsoft 365 are based on Microsoft Stream service, and while Stream supports many formats, not all of them are accessible (for example: .wmv). For the most accessible video, use the .mp4 format.
No need to store video files to somewhere else.

Azure Media Player in Blazor

I was trying to get the Azure Media Player running in Blazor - no success.
Everything works fine in an Asp.net core project.
In Blazor its always the normal Html player.
Tried it with diffrent browsers - always the same.
It must have something to do with the js not get loaded correctly.
Does anybody has an idea?
Here is an example where i put the script and style:
https://blazorfiddle.com/s/bhos6ocq
try to use the HLS(v4) url with m3u8 format, then use this library to display it with the html video tag : https://github.com/video-dev/hls.js

html5: audio doesn't work with apache on my wamp server

I downloaded able player, an accessible cross browser audio and video player from https://ableplayer.github.io/ableplayer/
Before downloading, I played some examples from github pages to see it in action with my screen reader. It works very fine, with internet explorer 11, google chrome and firefox.
So, i downloaded it and copied it in my localhost server. I use wamp server, apache, php and mysql.
Before playing from my localhost, I added on my .htaccess in root folder, all AddType directives suggested by able player github page.
When I try to play examples in demo folder, with internet explorer, my screen reader doesn't see audio player region and I can't play anything.
With google chrome, I can play, but I can't see playlist elements managed by able player.
So, I tried to make my own audio player without using ableplayer, without css, simple html5.
Now, I tried to play it with and without apache.
By opening index.html with internet explore, it sees audio region and play mp3.
If I point to localhost, where I put index.html, I can't see anything.
So I believe apache is the problem, but in apache log I can't see any error.
Does Some one has a suggestion? Something to modify in my .htaccess?
Thanks!
I solved! Definitively was apache. I downloaded an .htaccess from github that works fine. Now I can play audio and video.

HTML5 Video Rendering on ASP.net MVC5 website

I have a bit of a problem, I dont know why but I cant render video files on my site.
I made a project where my Videos are inside my asset folder, and it is called by a video tag.
It works on localhost, there are no problems but when I publish it
The images work but the video does not play.
Then I Tried Blob Storage, using Azure Storage Explorer I uploaded my video files in a public Blob. But same thing, it does not load but I can download the video file (I dont get this part)
Lastly I use Media Service which works good but the problem is, the Azure Manager of Media Service sucks, I need to upload tons of video and the UX in Azure does not help at all. there is no batch uploading or what so ever and I need to publish one by one.
So I made a code for it (Upload -> Encode -> Publish) but my biggest problem now is Upload.
The part where I will upload my IassetFile
assetFile.Upload(uploadFilePath);
This always fail with 100mb++ Files, but if it is 20mb++ it works ok.
I'm quite a bind, I dont know anymore what to do.
Can anyone give suggestion on how Can I proceed with this problem, the best case is that
Is there a configuration in azure website where I can activate so I can play videos?
You can convert video files you have already uploaded into blob storage into media services assets. The guidance from Microsoft on how to do this is here: http://msdn.microsoft.com/en-us/library/jj933290.aspx
You should also be able to leverage the raw MP4 blob that is produced as the baseline media asset if you don't wish to utilise smooth streaming or similar services. This asset has a long URL with a SAS access key.

WordPress can't display uploaded images (3.6)

I'm having a bit of trouble with a client site, on their server (our development server is fine).
We were hoping to push it live today, so we created a test subdomain to make sure his server's okay with the site.
However, the media uploader doesn't seem to work properly. The file will upload, without any error messages, however, instead of displaying the image in the thumbnail preview, it shows a little blue ?.
The file is actually uploaded to the server, but for some reason it can't be displayed online.
For example this should be the location of a newly upload image, but for some reason it can't be accessed.
I was thinking the issue is with folder permissions, but changing everything to 777 didn't seem to do anything. So I'm a little confused as to what's wrong.
Apparently they host a couple dozen WordPress sites and don't have this issue. I did think it's a server problem because it works on two other servers.
Anyone had an issue like this before?
[EDIT]
It turns out deactivating a plugin called Sell Media Watermark does the trick.
However, this plugin is needed so I'm working to find a fix for it :)

Resources