Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis0
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
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
+ 1
#modal* sorry