Saltar al contenido

Integra un vídeo de YouTube con sólo un plugin GRATIS (Sólo para WordPress)



Estimados lectores,

Les comento que hace poco necesitaba sólo mostrar un vídeo de Youtube, pero no tenía tiempo de leer toda la documentación del API Iframe de Youtube para implementar el código que trae, por ende, en mi afán de investigación, encontré un plugin desarrollado por la gente de MyWPStack, que sirve específicamente para eso, mostrar un vídeo de Youtube, sólo con un shortcode. Además trabaja con todas las versiones de wordpress, inclusive la 5, con Gutemberg

Teniendo el ID o código del vídeo que es lo que aparece al final de la URL de cualquier video de Youtube, ejemplo:

Lo que se encuentra arriba resaltado es el código del video. El shotcode quedaría tal que así:

[videoyoutube idvideo=»mlBIpwtNxxE»]

Esa estructura la puedes copiar y pegar en cualquier parte de tu página o entrada de tu WordPress y te va a funcionar a las mil maravillas (sustituyendo el idvideo por el código del video que hayas elegido).

Adicionalmente, en el shortcode, puedes configurar parámetros como:

autoplay: que el video se reproduzca al cargar la página.

loop: que el video al terminar la reproducción vuelva a iniciarse.

controls: que aparezcan o no los controles del player de youtube.

mute (opcional): silenciar el video.

Con las opciones dentro del shortcode, quedaría tal que así:

Entendiendo que falso=0, verdadero=1.


[videoyoutube idvideo=»mlBIpwtNxxE» autoplay=»0″ loop=»1″ controls=»0″ mute=»0″ ]

…y voilá!

tenemos nuestro video incrustado de YouTube en nuestra web.

Hasta una próxima entrega!

36 pensamientos sobre “Integra un vídeo de YouTube con sólo un plugin GRATIS (Sólo para WordPress)”

  1. A person essentially lend a hand to make critically articles I might state. This is the very first time I frequented your web page and thus far? I amazed with the research you made to make this particular publish incredible. Great process! Rivkah Peyton Chemarin

  2. Just bookmarked your blog, it is a really nice and useful piece of information. I am happy that you shared this helpful information with us. Please keep us up to date like this. Keep writing. Sharai Noland Julee

  3. I will immediately grab your rss feed as I can at find your e-mail subscription link or newsletter service. Do you ave any? Please let me know in order that I could subscribe. Thanks. Ronda Rodge Lavina

  4. I simply hope to tell you that I am new to wordpress blogging and clearly liked your review. Very likely I am prone to remember your blog post . You definitely have extraordinary article information. Delight In it for sharing with us your current domain post Martita Patton LaSorella

  5. After looking into a handful of the blog articles on your site, I truly appreciate your way of blogging. I book-marked it to my bookmark website list and will be checking back soon. Please visit my website as well and let me know how you feel. Hatty Llywellyn Thynne

  6. Hey there. I found your web site by way of Google whilst searching for a similar subject, your web site came up. It appears to be great. I have bookmarked it in my google bookmarks to come back then. Jolee Rogerio Gaelan

  7. I do agree with all the ideas you have presented on your post. They are really convincing and will certainly work. Nonetheless, the posts are very quick for starters. Could you please lengthen them a bit from next time? Thanks for the post. Kendre Kyle Clarence

  8. These kind of post are always inspiring and I prefer to read quality content so I happy to find many good point here in the post,writing is simply great,thank you for the post. Marketa Haley Nashner

  9. OMG seeing your before and after photo is an inspiring revelation. Ye renewed self love truly makes you age ulta and one is more at peace with self. I believe being overweight gives rise to many medical ailments too Marilin Cobb Salisbarry

  10. I have been exploring for a little for any high-quality articles or weblog posts in this kind of space . Exploring in Yahoo I ultimately stumbled upon this site. Studying this information So i am glad to show that I have an incredibly just right uncanny feeling I came upon just what I needed. I most undoubtedly will make sure to do not forget this site and give it a look on a relentless basis. Kym Jonathon Korey

Deja un comentario

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *