Difference between revisions of "Sandbox"
Jump to navigation
Jump to search
Line 24: | Line 24: | ||
== Video support in Mediawiki == | == Video support in Mediawiki == | ||
− | |||
− | === | + | === TimedMediaHandler === |
− | + | These examples employ the [http://www.mediawiki.org/wiki/Extension:TimedMediaHandler TimedMediaHandler] extension: | |
− | |||
− | |||
− | |||
− | |||
− | === | + | ==== Matroska + WebM ==== |
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | Works in Chromium 18 and Firefox 9: | |
− | + | [[File:Itaipu.webm]] | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | ==== OGG Theora + Vorbis ==== | |
− | |||
− | |||
− | |||
− | |||
− | + | Works in Chromium 18 and Firefox 9: | |
+ | |||
+ | [[File:Shinkansen.ogv]] | ||
+ | |||
+ | |||
+ | ==== MPEG-4 x264 ==== | ||
+ | |||
+ | This doesn't work: | ||
+ | |||
+ | [[File:Rio_de_Janeiro.mp4]] | ||
+ | |||
+ | |||
+ | [[Sandbox/OldVideoPlugins]] | ||
+ | |||
+ | |||
+ | === Links to the raw videos === | ||
* http://codewiz.org/pub/pictures/vacation/iguazu_itaipu_2010/itaipu/MVI_1052.webm | * http://codewiz.org/pub/pictures/vacation/iguazu_itaipu_2010/itaipu/MVI_1052.webm |
Revision as of 18:45, 15 April 2012
This is a title
I can write whatever I like...
- Fish
- Meat
- Veggies
- Icecream
- Foobar
Test interwiki links
The API call http://wiki.sugarlabs.org/api.php?action=query&meta=siteinfo&siprop=interwikimap dumps the set of interwiki links. Special:Interwiki provides a tool to edit them. Let's try some links.
Test Interwiki image links
Here's a screenshot from w.l.o, olpc:File:Activity_browse.jpg, with the extra params that usually cause image display.
doesn't seem to work?!
- The [[File:imagefile|options]] code works with the local wiki image folder. One can embed sized external images from the absolute URI, such as or
The URI for an image can be discovered by inspecting the HTML element of an example image in the source wiki with a browser source inspector, such as, right click, Inspect Element in Firefox.
Video support in Mediawiki
TimedMediaHandler
These examples employ the TimedMediaHandler extension:
Matroska + WebM
Works in Chromium 18 and Firefox 9:
OGG Theora + Vorbis
Works in Chromium 18 and Firefox 9:
MPEG-4 x264
This doesn't work:
Links to the raw videos
- http://codewiz.org/pub/pictures/vacation/iguazu_itaipu_2010/itaipu/MVI_1052.webm
- http://codewiz.org/pub/pictures/vacation/japan_2009/Shinkansen/00011-x264.avi
- http://codewiz.org/pub/pictures/vacation/japan_2009/Shinkansen/00008-mjpeg.avi
- http://codewiz.org/pub/pictures/vacation/japan_2009/Shinkansen/00010.ogg