Play video file

Recently I got a requirement, where I wanted to play video file on the website.
The video files which I got is in .avi format.
I tried a lot to play the .avi file but I failed, and finally I give up.
Later I tried the same by converting the .avi file to .swf file with below code and done with the work.
Note: To use the above code, just replace the string "VIDEOPATH" with your video file path. e.g. Videos/demo.swf To know more about the attributes used on the object tag click me


Twitter Delicious Facebook Digg Stumbleupon Favorites More