The Audiovisual Identity Database:Tutorials: Difference between revisions

Jump to navigation Jump to search
→‎YouTube: with errors in instruction it's no wonder that youtube clips aren't shown correctly
imported>Hb1290
m (Text replacement - "{{YouTube|id=" to "</youtube><youtube width=240 height=185>")
imported>Blah32DLL
(→‎YouTube: with errors in instruction it's no wonder that youtube clips aren't shown correctly)
Line 73: Line 73:
===YouTube===
===YouTube===
When adding YouTube videos, use this format:
When adding YouTube videos, use this format:
<code><nowiki></youtube><youtube width=240 height=185>youridhere}}</nowiki></code>
<code><nowiki><youtube width=240 height=185>youridhere</youtube></nowiki></code>


You can use multiple videos in this template like so:
You can use multiple videos in this template like so:
<code><nowiki></youtube><youtube width=240 height=185></youtube><youtube width=240 height=185>|id3=...></nowiki></code>
<code><nowiki><youtube width=240 height=185>your_id1</youtube><youtube width=240 height=185>your_id2</youtube></nowiki></code>
The template currently supports up to 17 videos. Each video's width and height parameters are customizable, i.e. <code><nowiki>width=|height=|width2=|height2=|width3=|height3...></nowiki></code>
Each video's width and height parameters are customizable, simply replace 240 and 185 with desired width/height.


If width and height parameters are not filled, the video will be automatically shown with the default width/height parameters (240x185).
If width and height parameters are not filled, the video will be automatically shown with the default width/height parameters (240x185).
Anonymous user

Navigation menu