Well i've decided to join a web forum as I've recently got back into some web stuff... Its been a while!
I have been trying to get a simple test working for some video at work and am failing miserably...
Im a total novice, I know some basic HTML, CSS, etc but yeah!
I've been trying to use that video for everybody bit of code and its killing me as I need to get it full screen in all browsers, i phones etc etc but I'm way out of my depth here lol! I've got it playing in some of the browsers others not, I'm currently testing on opera firefox and safari but it needs to work across the board... From my whole day at work spent trying to find an answer to this I just need to slay the beast... or am I asking what everyone else is asking?
Super simple code -
- Code: Select all
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>HTML 5 Video Test</title>
<link rel="stylesheet" href="css/main.css" type="text/css" />
<!--[if IE]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
<!--[if lte IE 7]>
<script src="js/IE8.js" type="text/javascript"></script><![endif]-->
<!--[if lt IE 7]>
<link rel="stylesheet" type="text/css" media="all" href="css/ie6.css"/><![endif]-->
</head>
<body id="index" class="home">
<div>
<video controls="controls" poster="wrong.jpeg" width="640" height="360">
<source src="vidtest.mp4" type="video/mp4" />
<source src="vidtest.webm" type="video/webm" />
<source src="vidtest.ogv" type="video/ogg" />
<object type="application/x-shockwave-flash" data="vidtest.swf" width="640" height="360">
<param name="movie" value="vidtest.swf" />
<param name="allowFullScreen" value="true" />
<param name="wmode" value="transparent" />
<param name="flashVars" value="controls=true&poster=wrong.jpeg&src=vidtest.mp4" />
<img alt="" src="wrong.jpeg" width="640" height="360" title="No video playback capabilities, please download the video below" />
</object>
</video>
<p>
<strong>Download video:</strong> <a href="vidtest.mp4">MP4 format</a> | <a href="vidtest.ogv">Ogg format</a> | <a href="vidtest.webm">WebM format</a>
</p>
</div>
</body>
</html>
Also the test is live on http://www.milcon.me.uk
so... If anyone can help me out with this stuff Id be forever greatful!!!
Thanks People!
GrimChili!!