Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>Full screen video, example from demosthene.info by </title>
</head>
<body>
<header>
<video style="width: 1457px; height: auto; visibility: visible;" 
       autoplay="autoplay" 
       muted="muted" 
       loop 
       poster="https://mainline.i3s.unice.fr/mooc/uk-brand-campaign.jpg"> 
       <source src="http://mainline.i3s.unice.fr/mooc/uk-brand-campaign.mp4" 
               type="video/mp4"> 
      <source src="http://mainline.i3s.unice.fr/mooc/uk-brand-campaign.webm" 
              type="video/webm"> 
  </video>
</header>
  <section>
    <h1>Paypal video full screen using only CSS</h1>
  </section>
</body>
</html>
 
 body {
    margin:0;
    padding:0;
    overflow:hidden;
} 
video {
   width:100%; 
  height:auto; 
}
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
AuroreDechampspro
0viewers