I need this simple page with a video, b开发者_如何学Gout it has to be fullsize window,
<!doctype html>
<html>
<head>
<title>video</title>
<style type="text/css">
body{
background:#000;
margin:0;
width:100%;height:100%;
}
iframe{min-height:650px;}
</style>
</head>
<body>
<iframe src="http://player.vimeo.com/video/20881205?title=0&byline=0&portrait=0&color=aebdc2&autoplay=1&loop=1" width="1024" height="765" style="width:100%;height:100%;" frameborder="0"></iframe>
</body>
</html>
i'm trying things like:
iframe{min-height:100%;height:100%;}
But if i don't specify in px won't make any change.. any idea why?
Thanks a lot!
can preview here, if you want http://toniweb.us/video.html
Hmmm.... i checked your preview and it seems ok... in chrome, anyway.
I dont's really understand why you specify in your iframe width and height, and then again in its style attribute. Try deleting width and height, and just keep style.
精彩评论