3 questions | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
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