: Are there any WordPress plugins for embedding YouTube videos? A quick search on WP came up with some outdated plugins and some with no screenshots. I specifically need to embed playlists; interested
A quick search on WP came up with some outdated plugins and some with no screenshots.
I specifically need to embed playlists; interested in screenshots if you can share.
Thanks!
More posts by @Nimeshi995
3 Comments
Sorted by latest first Latest Oldest Best
To elaborate upon Nick's answer, WordPress supports oEmbed since version 2.9—and so, a YouTube video could easily be embedded by pasting its URL in the content area on a line by itself. The URL should be a plain text one (without an <a> tag). WordPress does this automatically when the "Auto-embeds" setting is enabled Settings > Media SubPanel. This works for playlists as well.
Customization for how the video gets embedded does, however, require use of a different solution.
This information was acquired from the WordPress Codex: codex.wordpress.org/Embeds
It should also be noted that YouTube is not the only website which WordPress supports for oEmbed use. A complete whitelist of URLs can be found at the above listed page.
The YouTube embed plugin supports playlists, features a screenshot, and appears to be actively maintained. To embed a playlist, install the plugin and then add the following shortcode in the post editor:
[youtube_playlist width=200 height=100]playlist_id[/youtube_playlist]
The playlist id is the string of numbers and letters after the "&list=" in the YouTube URL for your playlist:
You can also embed playlists without a plugin by pasting the YouTube embed code in your post editor's HTML area, like this.
What about "Jetpack by WordPress.com"? It is supported by Automattic (WP creators) and one of its features is "Easily embedded media from popular sites like YouTube, Digg, and Vimeo."
Of course, it has many other features that some may consider as overhead.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.