Difference between revisions of "AVembed"
From bombaywiki
Line 1: | Line 1: | ||
− | ==== Now using TimedMediaHandler extension ==== | + | ==== Local A-V Now using TimedMediaHandler extension ==== |
* 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. | ||
Line 35: | Line 35: | ||
[[File:5AMajhiMaina_ShahirVitthalUmap_Lokgeet.mp3]] | [[File:5AMajhiMaina_ShahirVitthalUmap_Lokgeet.mp3]] | ||
<nowiki>[[File:5AMajhiMaina_ShahirVitthalUmap_Lokgeet.mp3]]</nowiki> | <nowiki>[[File:5AMajhiMaina_ShahirVitthalUmap_Lokgeet.mp3]]</nowiki> | ||
+ | |||
+ | |||
+ | ==== 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}} | ||
+ | <nowiki>{{#iDisplay:https://pad.ma/UN/editor/AJ#embed?&showAnnotations=true&showLayers=["transcripts"]&matchRatio=true|640|640}}</nowiki> | ||
+ | <nowiki>pad.ma snippet: | ||
+ | <iframe width="480" height="640" src="https://pad.ma/UN/editor/AJ#embed?&showAnnotations=true&showLayers=["transcripts"]&matchRatio=true"></iframe></nowiki> | ||
+ | |||
+ | * Embed only video from pad.ma, embed size 640x360 | ||
+ | {{#iDisplay:https://pad.ma/IKX/player/BP#embed?matchRatio=true|640|360}} | ||
+ | <nowiki>{{#iDisplay:https://pad.ma/IKX/player/BP#embed?matchRatio=true|640|360}}</nowiki> | ||
+ | |||
+ | * 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. | ||
+ | <nowiki>{{#iDisplay:URL|WIDTH|HEIGHT|SAFE}}</nowiki> |
Revision as of 20:18, 21 November 2017
Local A-V Now using TimedMediaHandler extension
- Audio-Video embed syntax follows image embed syntax, with some additional features. Some examples below.
- 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 480px
[[File:Mumbaichi Lavani Lokshahir Anna Bhau Sathe Vihaan.webm|480px]]
- Embed video 360px
[[File:Mumbaichi Lavani Lokshahir Anna Bhau Sathe Vihaan.webm|360px]]
- Embed video 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}}