Hello,
I'm trying to make a website with a video playing on the background. I converted my video to swf file with video size of 1920x1080(original size) and then I embedded it to Dreamweaver with this code I found on the net:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>First</title>
<style>
html,body {
height:100%;
margin:0;
}
#swf-holder {
height:100%;
}
#swf-holder object {
display:block;
width:100%;
height:100%;
}
</style>
</head>
<body>
<div id="swf-holder">
<object type="application/x-shockwave-flash" data="yourmovie.swf">
<param name="movie" value="yourmovie.swf">
</object>
</div>
</body>
</html>
My problem now is that the video background seem to have a black space on the sides. It does fit correctly vertically though because it reaches the top and bottom sides.
I'm not really sure what the problem is. Is it the size of the SWF file? If so, what should the size be?
Any help would be greatly appreciated. Thanks in advance! :)