0

3 questions

1. My dialog is not centering is not showing in the middle of the screen. It centers on fixed position but I want to pop up at the middle of the screen. Click download to trigger...How do I fix that?? 2. How do i auto play YouTube iFrame I tried but my code is not working?? 3. How to I overflow my iFrame to fill screen horizontal 100% no matter what value I put in it doesn't become 100%. Only as big as parent but I want it to overflow and be bigger??click video to see the iFrame ?? https://code.sololearn.com/WNBHo5etecB0/?ref=app

4th Aug 2023, 11:15 PM
Indiphile Menziwa
Indiphile Menziwa - avatar
2 Respostas
+ 1
2. Para reproducir automáticamente un iFrame de YouTube, asegúrate de agregar el atributo "autoplay" en el código HTML del iFrame. Sin embargo, ten en cuenta que algunos navegadores tienen restricciones en la reproducción automática de videos debido a consideraciones de experiencia del usuario. 3. Para hacer que tu iFrame desborde y llene la pantalla horizontalmente, establece la propiedad CSS "width: 100vw;" en el iFrame. Esto hará que abarque todo el ancho de la ventana gráfica. And 1. Use position fixed in the #model Will make the popup screen stick to the center of the screen
6th Aug 2023, 1:40 AM
<YostDev>
<YostDev> - avatar
+ 1
#modal* sorry
6th Aug 2023, 1:40 AM
<YostDev>
<YostDev> - avatar