Reputation: 883
I have Parallels Plesk Panel 11.0.9 for Microsoft Windows
host. I tried to play some short video using several solution including: camtasia
, videojs
and google youplay
. but all of them can't play back my video on host; I mean it's play and show on local and everythings is ok on local.
I using asp.net 4.5 on local and asp.net 4.0 on remote host.
I downloaded test video on videojs and upload it to my host, but I confuse that there is nothing play from only my windows host. Are there any tip for playback video from windows host?
Upvotes: 1
Views: 117
Reputation: 883
Thanks to Mitesh Gangaramani
for answering but there is no content as video/mp4
so I had to deeper search and find an guaranteed solution for this problem.
Just go to web.config
and add these tags between <configuration></configuration>
tag:
<system.webServer>
<staticContent>
<mimeMap fileExtension=".mp4" mimeType="video/mp4"></mimeMap>
<mimeMap fileExtension=".m4v" mimeType="video/m4v"></mimeMap>
</staticContent>
</system.webServer>
Then save and upload it to your httpdocs
. I hope I could help who people had this problem.
Upvotes: 0
Reputation: 307
Depending on the video type, control panel should have proper MIME type added.
Upvotes: 1