The Audiovisual Identity Database:Tutorials: Difference between revisions

Jump to navigation Jump to search
→‎Adding videos: Updating to reflec the new Vimeo template
imported>Hb1290
No edit summary
imported>Hb1290
(→‎Adding videos: Updating to reflec the new Vimeo template)
Line 66: Line 66:


== Adding videos ==
== Adding videos ==
You can add either YouTube or Vimeo videos to pages===
===YouTube===
When adding YouTube videos, use this format:
When adding YouTube videos, use this format:
<code><nowiki>{{YouTube|id=youridhere}}</nowiki></code>
<code><nowiki>{{YouTube|id=youridhere}}</nowiki></code>
Line 71: Line 74:
You can use multiple videos in this template like so:
You can use multiple videos in this template like so:
<code><nowiki>{{YouTube|id=|id2=|id3=...></nowiki></code>
<code><nowiki>{{YouTube|id=|id2=|id3=...></nowiki></code>
The template currently supports up to 10 videos. Each video's width and height parameters are customizable, i.e. <code><nowiki>width=|height=|width2=|height2=|width3=|height3...></nowiki></code>
The template currently supports up to 13 videos. Each video's width and height parameters are customizable, i.e. <code><nowiki>width=|height=|width2=|height2=|width3=|height3...></nowiki></code>


If width and height parameters are not filled, the video will be automatically shown with the default width/height parameters (220x165).
If width and height parameters are not filled, the video will be automatically shown with the default width/height parameters (220x165).
===Vimeo===
The parameters for the Vimeo template are exactly the same as the YouTube template. To use it, type:
<code><nowiki>{{Vimeo|id=youridhere}}</nowiki></code>
The template supports the same number of videos as the YT template.
===What is a Video ID?===
===What is a Video ID?===
You can find the video ID by right-clicking on the YouTube Player and clicking on "Copy Video URL". The video URL for this video on [[Fox Lab]] is  
You can find the video ID by right-clicking on the YouTube Player and clicking on "Copy Video URL". The video URL for this video on [[Fox Lab]] is  


<code><nowiki>https://youtu.be/</nowiki><span style="color:red">8dru7rImpOI</span></code>
<code>https://youtu.be/</nowiki><span style="color:red">8dru7rImpOI</span></code>


The Video ID here is highlighted in red. This is what you have to use in the template.
The Video ID here is highlighted in red. This is what you have to use in the template.
On Vimeo, the id is the part after the / in the url, for example:
<code><nowiki>https://vimeo.com/18635794</nowiki><span style="color:red"></span></code>


===Videos in forum threads===
===Videos in forum threads===
You can add videos to threads using the following markup:
You can add YouTube videos to threads using the following markup:
<code><nowiki><youtube width="220" height="165">VideoID</youtube></nowiki></code>
<code><nowiki><youtube width="220" height="165">VideoID</youtube></nowiki></code>
Vimeo videos cannot be added to threads as they do not allow templates.


==Adding Images==
==Adding Images==
Anonymous user

Navigation menu