This ‘Embedding Media’ tutorial covers:
- Working with media URLs
- Using the ‘Embed’ tag
- Adding an embed code
WordPress makes it easy to embed media into a post or page using only a URL from popular media content services like YouTube, Vimeo, Instagram, Flickr, SmugMug, SoundCloud, Twitter, Hulu–and the list goes on.
To embed a video, audio file, image of other supported media file using only a URL, simply copy the link pointing to the media file from any of the supported media services and paste it on its own line in your post or page making sure the URL is not a clickable link. WordPress will then display that link as a media file when viewed from the front end of the site.
If you need the file to display on a line with text, just place the URL between the embed tag.
You can even control the size by setting width and height parameters in the opening embed tag.
Many services, like YouTube, provide even more control with built in embed code generators. If you would like to use the service’s embed code, copy the link from the service site, click the text tab in the WordPress editor and paste the code snippet into the text editor.
You can view your changes by clicking the ‘Preview Changes’ button or click ‘Update’ or ‘Publish’ to make the changes go live to your site.