Creative COW SIGN IN :: SPONSORS :: ADVERTISING :: ABOUT US :: CONTACT US :: FAQ
Creative COW's LinkedIn GroupCreative COW's Facebook PageCreative COW on TwitterCreative COW's Google+ PageCreative COW on YouTube
ADOBE DREAMWEAVER:HomeDreamweaver ForumDreamweaver TutorialsFAQAdobe FlashWeb Design

How to make SWF background adjust to every screen resolution

COW Forums : Adobe Dreamweaver

FAQ   •   VIEW ALL   •   ADD A NEW POST   •   PRINT
Share on Facebook
Respond to this post   •   Return to posts index   •   Read entire thread


Christan DavidHow to make SWF background adjust to every screen resolution
by on Aug 15, 2012 at 5:33:26 am

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! :)


Posts IndexRead Thread
Reply   Like  
Share on Facebook


Current Message Thread:




LOGIN TO REPLY



FORUMSTUTORIALSFEATURESVIDEOSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

Creative COW LinkedIn Group Creative COW Facebook Page Creative COW on Twitter
© 2014 CreativeCOW.net All rights are reserved. - Privacy Policy

[Top]