Gallery

Mostrando entradas con la etiqueta Iframe. Mostrar todas las entradas
Mostrando entradas con la etiqueta Iframe. Mostrar todas las entradas

lunes, 20 de julio de 2026

Iframe - Código para streaming deportivos

Un iframe para ver streaming deportivos en vivo


<div class="ifcontenedor">

    style="top: -20px; height: 410px;"

    <div class="tema-dcanal">
        <h1>DirecTV Sports</h1>
        <div class="sportsif">
           <iframe width="560" height="315" src=""
            title="YouTube video player" frameborder="0"
            allow="accelerometer; autoplay; clipboard-write;
            encrypted-media; gyroscope; picture-in-picture;
            web-share" referrerpolicy="strict-origin-when-cross-origin"
                allowfullscreen ></iframe>
        </div>  
    </div>


--- CSS ---

.ifcontenedor{
    width: 100%;
    height: auto;
    background: rgb(24, 24, 24);
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: center;
    padding: 50px 0px;
}
.tema-dcanal{
    margin: 10px;
}
.sportsif{
    width: 280px;
    height: 150px;
    background: black;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid tomato;
    overflow: hidden;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}
.sportsif iframe{
    position: relative;
    width: 350px;
    height: 300px;
    top: -70px;
    background: rgb(58, 58, 58);
}


Creado para fútbol libre...

miércoles, 3 de junio de 2026

iframe - En lugar específico

 Como abrir un iframe en un lugar específico.


Código:


HTML5

<div class="sportsif">
<iframe width="560" height="315" src="https://futbol-libre.su/espn-1/"
title="YouTube video player" frameborder="0" allow="accelerometer;
autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture;
web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen >
</iframe>
</div>  
CSS
.sportsif{
    width: auto;
    height: 200px;
    background: black;
}
.sportsif iframe{
    position: relative;
    width: 400px;
    height: 350px;
    top: -150px;
    background: red;
}



martes, 21 de abril de 2026

Youtube - Como compartir vídeos de youtube en tu sitio web




Comparte vídeos de Youtube en tu sitio web

HTML
CÓDIGO YOUTUBE - Cuando no se puede compartir en tu sitio web es porque
el dueño del vídeo no deja compartirlo.

<iframe width="570" height="350" src="https://www.youtube.com/embed/
GrY4RRugZAY?si=IRd9Llg_0AFg5WwJ" title="YouTube video player"
frameborder="0" allow="accelerometer; autoplay; clipboard-write;
encrypted-media; gyroscope; picture-in-picture; web-share"
referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>


La URL del video deberia ir algo como:
https://www.youtube.com/embed/XXXXXXXX
Donde XXX es el ID del video
Estando en Youtube hay que presionar el boton de compartir



Posterior a ello, hay que copiar el enlace que aparece desde el boton azul:



Nos arroja este ejemplo de enlace:
https://youtu.be/w3z0JI0dAWA?si=pZ-684sJzFHXR5uY

Ya solo hay que cambiarlo a la 1era URL ya mencionada y listo..

Gracias a este brother ---->

viernes, 1 de mayo de 2020

Codigo html - Iframe



Código iframe para utilizarlo en tu website...


<iframe width="560" height="315" src="https://www.youtube.com/embed/Som0-ZixFjg" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>


<iframe src="demo_iframe.htm" height="200" width="300" title="Iframe Example"></iframe>

Documental de Hackers