- Portals
- The Current Year
- ED in the News
- Admins
- Help ED Rebuild
- Archive
- ED Bookmarklet
- Donate Bitcoin
Contact an admin on Discord or EDF if you want an account. Also fuck bots.
Encyclopedia Dramatica:A User's Guide to Embedded Content: Difference between revisions
Jump to navigation
Jump to search
imported>MarioMario456 |
imported>Jacket No edit summary |
||
Line 1: | Line 1: | ||
<!-- test edit for tabby userjs, do not rollback --> | |||
In general [[Computer Science III|web programming]] terms, an embed is an external resource, such as a [[Website|web page]] ([[Templates]]), a [[picture]] ([[mw:Help:Linking_to_files|Files <sup>(MediaWiki)</sup>]]), or a [[Youtube|media player]] (the <nowiki><youtube></nowiki> tag). | In general [[Computer Science III|web programming]] terms, an embed is an external resource, such as a [[Website|web page]] ([[Templates]]), a [[picture]] ([[mw:Help:Linking_to_files|Files <sup>(MediaWiki)</sup>]]), or a [[Youtube|media player]] (the <nowiki><youtube></nowiki> tag). | ||
Revision as of 04:18, 28 November 2021
In general web programming terms, an embed is an external resource, such as a web page (Templates), a picture (Files (MediaWiki)), or a media player (the <youtube> tag).
Encyclopedia Dramatica handles embedding content through "extensions", such as Extension:PDFEmbed and Extension:YouTube. This guide will show you how to embed different media formats.
Embed Tags
While you might be aware of the <youtube> tag, other tags also exist. This is a table of all the supported website and its corresponding tags.
Videos | Tag | Example of ID (in bold) | Full URL Example |
---|---|---|---|
YouTube | <youtube> |
3aYCG4vEe5s | https://www.youtube.com/watch?v=3aYCG4vEe5s |
Archive.org video | <archiveorg> |
Garfield_McDonalds_Garfield_Mugs_1987 | https://archive.org/details/Garfield_McDonalds_Garfield_Mugs_1987 |
Nico Video | <nicovideo> |
sm34403760 | https://www.nicovideo.jp/watch/sm34403760 |
<nico> |
sm34403760 | https://www.nicovideo.jp/watch/sm34403760 | |
Audio | Tag | Example of ID | Full URL Example |
Spotify | <spotifyalbum> |
1EoDsNmgTLtmwe1BDAVxV5 | https://open.spotify.com/album/1EoDsNmgTLtmwe1BDAVxV5 |
<spotifyartist> |
Full URL | https://open.spotify.com/artist/06HL4z0CvFAxyc27GXpf02 | |
<spotifytrack> |
Full URL | https://open.spotify.com/track/ |
The tags are compatible with T:Videoframe
To use these tags, put the video id (https://www.youtube.com/watch?v=HgQQXOZemJc) in between the corresponding tags, for example: <youtube>
HgQQXOZemJc</youtube>
results in:
|