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: |
|
Tags
<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
- Download and place the file(s) in a directory called
SimpleEmbedin 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
<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.
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.