Grandioso Posted September 27, 2012 Share Posted September 27, 2012 (edited) I'm trying to put up a video on a website in both HTML5 and flash format. I copied at least 3 different code snippets, which were supposed to work on all browsers, but the video does not play in a single browser, lol. Chrome, Opera, FF, and IE9 seem to recognize the video tag, but can't play the video for some reason. I only see the initial image, if anything from the video and it shows the length correctly (yes, the src is correct). IE8 does not show the flash video at all. Here's the latest code I use now <video controls="" width="515" height="230">[/font][/color] <source src="...intro.mp4" type="video/mp4"> <source src="...intro.ogg" type="video/ogg"> <object width="515" height="230"> <param name="movie" value="...intro.flv"> <embed src="...intro.flv" width="515" height="230"> </embed> </object> </video> Is there some special type of encoding, or whatever that the browser doesn't support ? I don't understand this... Unfortunately I can't post a link to the website as it's our company's site and is under construction. ---edit Allright, I found out that it's not the video, but the controls that don't work. If I put in the autoplay att, it works fine. But it's a bit non-user friendly. I don't want the video to play automatically. Is there any way around this ? Edited September 27, 2012 by Grandioso Quote Link to comment https://forums.phpfreaks.com/topic/268849-video-for-all-browsers-not-working-in-a-single-one/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.