Embedding Audio and Video
From SCI Wiki
Revision as of 21:57, 16 March 2019 by Andrew Branscom (talk | contribs)
Embedding Audio
OGG
To be done.
KQ4 Dwarve's Mine
Embedding Video
mp4
For locally uploaded content the process for displaying it on a page is the same as an image. See the image syntax documentation on MediaWiki.org for complete reference on this feature.
This example would display a video in page using a HTML5 <video>
tag.
[[File:Example.mp4]]
To specify the start and end timestamps in the media use the start and end parameters. The timestamp can be formatted as one of: ss, :ss, mm:ss, hh:mm:ss, or dd:hh:mm:ss.
[[File:Example.mp4|start=2|end=6]]
YouTube
{{#evt: service=youtube|id=https://www.youtube.com/watch?v=DXnp5KSK9JM}}
will yield:
{{#evt: service=youtube|id=https://www.youtube.com/watch?v=DXnp5KSK9JM%7Calignment=center}}
The Colonel's Bequest out side of mansion
and
<youtube>https://www.youtube.com/watch?v=8a6OP9JWNxk</youtube>
will yield:
<youtube>https://www.youtube.com/watch?v=8a6OP9JWNxk</youtube>
Space Quest II "Where am I?"