Ulterior Posted October 18, 2012 Share Posted October 18, 2012 I've searched and tried out many different variations of code attempting to put up an MP4 video file onto my webpage, but I can't seem to manage it for compatability with different browsers, among other issues. What's a good way of doing it, javascript? I want to make it as good quality as possible, compatible with most if not all browsers, autoplay and have the option of removing the controls. Also is it possible to resize a video by aspect ratio on the webpage, I mean would that result in better quality rather than rendering the video out and cutting it to that size? Link to comment Share on other sites More sharing options...
MrMKellow Posted November 7, 2012 Share Posted November 7, 2012 I don't know much about this, however you can dowload certain players that use CSS without use of javascript required for easy playback. Flash is required. Here is a website with a free and open source player: http://flowplayer.org/ Link to comment Share on other sites More sharing options...
Ingolme Posted November 7, 2012 Share Posted November 7, 2012 A good technique is to use the HTML 5 <video> tag with fallback to flash.The structure would be similar to this: <video> <object> You need an HTML 5 compliant browser or the Flash plug-in to view this content. </object></video> Look up the <video> tag in the HTML 5 reference, and search for the Flash-Satay method to learn how to use the <object> tag for Flash. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now