Play video in the browser

I have:
<a id="A4c" href="./resources/ROD_DataUpload.wmv" ><abbr title="Demo video...">Data Upload</abbr></a>

Open in new window

When I click on the hyperlink, it downloads the file.

Question: How do I get it to play on the web instead of downloading it to the computer?

I guess it has to download; if so, then how do I need get the video started?

FYI, for now, I have is static html only. Later on I will transfer this page to asp.net c#.
LVL 34
Mike EghtebasDatabase and Application DeveloperAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Marco GasiFreelancerCommented:
You have to use a player or just the html5 video tag:

<video id="player1" src="./resources/ROD_DataUpload.wmv" preload="none" controls="controls"></video>

Open in new window


http://www.w3schools.com/html/html5_video.asp
http://www.w3schools.com/tags/tag_video.asp

You can just Google for 'html5 video tag' and you'll find a tons of info about :-)

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Mike EghtebasDatabase and Application DeveloperAuthor Commented:
I am checking the links now; when I try your code it shows player which is good. But when I click on play button, it doesn't play it. The box gets only a bit taller.
Player
Julian HansenCommented:
the video element does not support wmv files - best format for this is mp4.

If you want to serve video over the web I suggest you convert your video to mp4.
Become a Certified Penetration Testing Engineer

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

Mike EghtebasDatabase and Application DeveloperAuthor Commented:
Hi Julian,

How do I convert wmv to mp4?

I have located below link to do that but you never kbow what else is being downloaded in the process:
http://www.movavi.com/support/how-to/how-to-convert-wmv-to-mp4.html?device=c&gclid=CJ7Bi5a6ocgCFQmRfgodgtQN7A

I wonder if Microsoft Movie Maker can do this (I have the original file, created in movie maker).

Mike
Marco GasiFreelancerCommented:
I usually use this software: http://www.freemake.com/free_video_converter/ 
It's free, easy to use and it works like a charm :-)
Julian HansenCommented:
If Marco's suggestion does not work for you ...

I use FFMpeg to do all my conversions. It is very hands on and a bit frustrating at first but it will pretty much convert everything into anything.

There is also Handbrake

VideoLan VLC will do it as well with a bit of patience
Mike EghtebasDatabase and Application DeveloperAuthor Commented:
I was able to download Microsoft Movie Maker 12, insertd existing ROD_DataUpload.wmv. After tesing, I saved it. It saved as ROD_DataUpload.mp4.

Note: Movie Maker is no longer supported by Windows 10 and windows 7 version produces .mwv only (I guess).
Fix: Movie Maker 12 is free download which works with Windows 10.

Thanks,

Mike
Julian HansenCommented:
You are welcome.
Marco GasiFreelancerCommented:
Thanks for poits and good luck with your project.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Browsers

From novice to tech pro — start learning today.