[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 99
  • Last Modified:

Need in help in playing help MP4 files in ASP.net web sites

Hi,

I am planning to capture screen in to MP4 movie and play them as self help guide for users in ASP.net web site. What is the best technique to add them in site that should work for all browsers?

Thanks
0
Ashwini Rao
Asked:
Ashwini Rao
  • 2
1 Solution
 
GaryCommented:
Just use the HTML5 video tag - it's the easiest to implement and is supported in all modern browsers
http://www.w3schools.com/html/html5_video.asp

<video width="320" height="240" controls>
   <source src="movie.mp4" type="video/mp4">
   <source src="movie.ogg" type="video/ogg">
 Your browser does not support the video tag.
</video> 

Open in new window

0
 
Ashwini RaoAuthor Commented:
Thanks for the help. But I am unable to open wither in Chrome or Firefox. It says no video with supported format or MIME type found. Below is the code.

<video width="620" height="440" controls>
  <source src="C:\trial.mp4" type="video/mp4" autoplay="autoplay" controls="controls">  
Your browser does not support the video tag.
</video>
0
 
GaryCommented:
This won't work
C:\trial.mp4

The path/file has to be a path on the server/localhost to work in FF and Chrome
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now