Extension:SimpleEmbed
Appearance
SimpleEmbed Release status: stable |
|
---|---|
Implementation | Tag , Media |
Description | Allows for embedding files on a page |
Author(s) | |
Latest version | 0.2 (2023-01-18) |
MediaWiki | >= 1.35 |
Database changes | No |
License | Public domain |
Download | GitHub: Note: |
<embed> |
|
The SimpleEmbed extension adds the <embed> tag for embedding files. It supports remote and local (uploaded to MediaWiki) files.
This extension is based on the EmbedAll extension.
Installation
[edit]- Download and place the file(s) in a directory called
SimpleEmbed
in yourextensions/
folder. - Add the following code at the bottom of your LocalSettings.php file:
require_once "$IP/extensions/SimpleEmbed/SimpleEmbed.php";
- Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
Usage
[edit]<embed>http://some.site.com/with/a/document.pdf</embed>
<embed width="250">Your_uploaded_document.pdf</embed>
- Options
- width
- height
You can embed all types of "embeddable" files, not just PDF's.