Skip to content

WordPress plugin that extends the variety of media sites whose content can be auto embedded by pasting a URL in the editor

License

Notifications You must be signed in to change notification settings

cogdog/wp-embed-extras

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cogdog Auto Embed Extras WordPress Plugin

by Alan Levine cog.dog

This plugin extends the variety of media sites whose content can be auto embedded by pasting a URL in the editor-- you know the way you can paste in the URL for any YouTube video and it automatically embeds in the editor (and when published). It is more of a proof of concept, and any WordPress coder up to the task could pull out code as needed for their own theme work.

If this is new to you, for your own sake, see all the media sites WordPress supports natively.

The Embed Extras plugin adds a few more into the mix. Why bother with this?

  1. HTML embed codes are messy. They have to be pasted into the text editor (WordPress running in Classic mode) or the HTML block.
  2. Even if you can figure this out, it's all for naught if your site is hosted in a WordPress multisite (the iframe tags of most embed codes are stripped out)
  3. It's much easier to paste in one URL and be done
  4. It feels magical when embedded media just appears after pasting in a URL

Much of this emerged from development of the WordPress SPLOTbox theme, this just generalizes things so it works anywhere in WordPress editing.

I hope.

Installation

This will work on self-hosted WordPress sites where you can install your own plugins or themes.

  1. Download this plugin using the Green via the Code button above, use the Download as ZIP option.
  2. In your dashboard, go to P;ugins then click Add New and finally the Upload Plugin button.
  3. Activate the plugin through the 'Plugins' menu in WordPress

Supported Service

The following sites can be auto embedded from a URL in the WordPress Editor, Classic or the Block Editor. Just paste the web address for any content from the sites below on a new blank line, and press ENTER (or RETURN). The media should appear in the visual editor

Padlet (padlet.com)

All content published on Padlet can be automatically embedded by pasting in the URL for any published, public padlet content, for example https://padlet.com/beckydono/48x1o4i4gi1s

Internet Archive (archive.org)

Embeds support for Audio, Video, Texts, even their collection of software.

  • https://archive.org/details/atari_2600_frogger_1982_parker_brothers_ed_english_david_lamkins_pb5300
  • https://archive.org/details/artofknitting00butt
  • https://archive.org/details/Jolly_Fish_1932
  • https://archive.org/details/AMFM2019-02-09

Vocaroo Audio

Any audio recorded on (Vocaroo)[https://vocaroo.com] in either URL format https://voca.ro/1nE0WWUqhxlN or https://vocaroo.com/1nRPpQCPhQ4M

Sodaphonic Boombox

Another nifty web recording/editing tool, embed audio recorded into Boonbox or edited with the Sodaphonic Editor. Examples.

  • https://sodaphonic.com/audio/344uhz2j8NUJjyUkckQq

Mastodon

Embed any public toot from it's URL, in form:

  • https://some.mastodon.instance/@usermame/098765431ID

or for real example https://social.fossdle.org/@cogdog/109506785930744037

Pixelfed

Embed a photo shared through a pixelfed instance, using the public share URL in the form

  • https://some.pixelfed.instance/p/usermame/p/1234567890

or for real example https://pixelfed.social/p/cogdog/622954251507231026

History


If this kind of stuff has any value to you, please consider supporting me so I can do more!

Support me on Patreon Support me on via PayPal


About

WordPress plugin that extends the variety of media sites whose content can be auto embedded by pasting a URL in the editor

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published