The Audiovisual Identity Database:Tutorials: Difference between revisions

Jump to navigation Jump to search
imported>Hb1290
(→‎??? Logo/ID/Open/Trailer (????-????): clarified the purpose of FX/SFX)
imported>Hb1290
Line 94: Line 94:
*<code><nowiki><center><youtube width="240" height="185">id1</youtube><youtube width="240" height="185">id2</youtube><youtube width="240" height="185">id3</youtube>...</center></nowiki></code>
*<code><nowiki><center><youtube width="240" height="185">id1</youtube><youtube width="240" height="185">id2</youtube><youtube width="240" height="185">id3</youtube>...</center></nowiki></code>


You can also customize the width and height parameters by replacing "240" and "185" with custom numbers.
You can customize the width and height parameters by replacing "240" and "185" with custom numbers.
 
===Collapsible video galleries===
In cases where there are many logos or IDs described on a single page, you can make YouTube widgets collapsible to improve performance and reduce loading times. Simply add <code>/collapsible</code> to the Youube markup like this:
 
<code><nowiki>{{YouTube/collapsible|id=...}}</nowiki></code>
 
This will result in the following:
 
{{YouTube/collapsible|id=vqVyVvwqyYI}}


===Vimeo===
===Vimeo===
Line 123: Line 132:


===Warning===
===Warning===
When adding videos, ensure you are not adding too many to a single page as having to render so many widgets on one page can slow loading times significantly and even cause browser crashes in some cases
When adding videos, ensure you are not adding too many to a single page without using the <code>collapsible</code> option, as having to render so many widgets on one page can slow loading times significantly and even cause browser crashes in some cases


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

Navigation menu