Pen Settings



CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource


Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource


Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.


Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.


		<meta charset="UTF-8" />

<header class="desarrollofrontend">
  <a href="" target="blank"></a>
<h2>Vídeo en html5 e inserción youtube</h2>

<div class="contenido-vacio"></div>

<div class="contenido2">
		<div class="contenido2-a">
			<h3>Vídeo en background con html5</h3>
			<li>Puedes usar la etiqueta <code> &lt;video&gt;</code> de html5.</li>
			<li> También puedes insertar vídeos de youtube.</li>
        <li> Mira el código para ver los ejemplos.</li>

<div class="contenido-vacio"></div>

<footer class="desarrollofrontend">
 <!-- inserción de vídeo de Youtube, puedes personalizar los parámetros a tu gusto

para más información de los parámetros de la API de youtube mira aquí.

<iframe class="video" src=" " frameborder="0" allowfullscreen></iframe>

  <!-- O bien usa la etiqueta <video> de html5

  <video class="video" autoplay preload>
  <source src="video.mp4" type='video/mp4; codecs="avc1,mp4a"' />
  <source src="video.ogv" type='video/ogg; codecs="theora,vorbis"' />
  <source src="video.webm" type='video/webm; codecs="vp8,vorbis"' />


                @import url(;

padding: 0px;
margin: 0px;
font-family: Open Sans,helvetica;  
color: white;
background: #00bdff;
text-decoration: none;  

.video {
position: fixed; 
right: 0; bottom: 0;
min-width: 100%; 
min-height: 100%;
width: auto; 
height: auto; 
z-index: -100;
background: url( no-repeat;
background-size: cover;

margin:0 auto;
width: 100%;
background: rgba(255,255,255,1);
margin:0 auto;
padding: 50px 0px 50px 0px;
font-size: 2em;

height: 600px;


text-align: center;
padding: 40px 0px 40px 0px;
background: #00bdff;
color: white;
width: 100%;