Difference between revisions of "AVembed"
From bombaywiki
(→Local A-V Now using TimedMediaHandler extension) |
(→Local A-V Now using TimedMediaHandler extension) |
||
Line 2: | Line 2: | ||
* Audio-Video embed syntax follows image embed syntax, with some additional features. Some examples below. | * Audio-Video embed syntax follows image embed syntax, with some additional features. Some examples below. | ||
+ | General syntax: | ||
+ | <nowiki>[[File:filename.extension|options|caption]]</nowiki> | ||
* Syntax follows each example in the box. | * Syntax follows each example in the box. |
Revision as of 18:48, 22 November 2017
Local A-V Now using TimedMediaHandler extension
- Audio-Video embed syntax follows image embed syntax, with some additional features. Some examples below.
General syntax:
[[File:filename.extension|options|caption]]
- Syntax follows each example in the box.
- Embed video full size - At 1280x720 this video is too big to display full size, syntax follows
[[File:Mumbaichi Lavani Lokshahir Anna Bhau Sathe Vihaan.webm]]
- Embed video, width 480px
[[File:Mumbaichi Lavani Lokshahir Anna Bhau Sathe Vihaan.webm|480px]]
- Embed video, width 360px
[[File:Mumbaichi Lavani Lokshahir Anna Bhau Sathe Vihaan.webm|360px]]
- Embed video, width 360px with thumbnail of video frame at 0:15
[[File:Mumbaichi Lavani Lokshahir Anna Bhau Sathe Vihaan.webm|360px|thumbtime=0:15]]
- Embed video in centered thumbnail box
[[File:Mumbaichi Lavani Lokshahir Anna Bhau Sathe Vihaan.webm|360px|thumb|center]]
- Text link direct to video file
Media:Mumbaichi Lavani Lokshahir Anna Bhau Sathe Vihaan.webm
[[Media:Mumbaichi Lavani Lokshahir Anna Bhau Sathe Vihaan.webm]]
- Text link direct to video file with alt-text
[[Media:Mumbaichi Lavani Lokshahir Anna Bhau Sathe Vihaan.webm|See video here]]
- Embed audio
[[File:5AMajhiMaina_ShahirVitthalUmap_Lokgeet.mp3]]
Embed A-V from external site (pandora embeds):
- Get embed code snippet from the site
- For pad.ma or indiancine.ma see: https://wiki.pad.ma/wiki/embed
- Copy only src part of the snippet, text between quotes.
- Embed from pad.ma with transcript layer
{{#iDisplay:https://pad.ma/UN/editor/AJ#embed?&showAnnotations=true&showLayers=["transcripts"]&matchRatio=true|640|640}} pad.ma snippet: <iframe width="480" height="640" src="https://pad.ma/UN/editor/AJ#embed?&showAnnotations=true&showLayers=["transcripts"]&matchRatio=true"></iframe>
- Embed only video from pad.ma, embed size 640x360
{{#iDisplay:https://pad.ma/IKX/player/BP#embed?matchRatio=true|640|360}}
- iDisplay Syntax:
Where: The URL you want to display The WIDTH of the iFrame The HEIGHT of the iFrame If SAFE == 1 then there will be the blocking page in between.
{{#iDisplay:URL|WIDTH|HEIGHT|SAFE}}