Help:Editing/Multimedia: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
(Created page with "Very generic filenames should not be used when uploading, as sooner or later someone else will use same name and this will overwrite the first file. File names should be clear...")
 
 
(2 intermediate revisions by the same user not shown)
Line 5: Line 5:
== Video ==
== Video ==
=== YouTube ===
=== YouTube ===
{| style="float:right; font-size:85%; text-align: left; border:1px silver solid;"
{| style="float:right; clear:both; font-size:85%; text-align: left; border:1px silver solid;"
| {{#widget:YouTube|id=xj5rbKed2E4|width=300|height=200}}
| {{#widget:YouTube|id=xj5rbKed2E4|width=300|height=200}}
|-
|-
Line 12: Line 12:
Using the [https://www.mediawikiwidgets.org/YouTube YouTube widget] and a table for formatting. Use the video ID from the URL. i.e. if the video's URL is <nowiki>https://www.youtube.com/watch?v=xj5rbKed2E4</nowiki>, then the embed code (in a table) would be:
Using the [https://www.mediawikiwidgets.org/YouTube YouTube widget] and a table for formatting. Use the video ID from the URL. i.e. if the video's URL is <nowiki>https://www.youtube.com/watch?v=xj5rbKed2E4</nowiki>, then the embed code (in a table) would be:
<pre>
<pre>
{| style="float:right; font-size:85%; text-align: left; border:1px silver solid;"
{| style="float:right; clear:both; font-size:85%; text-align: left; border:1px silver solid;"
| {{#widget:YouTube|id=xj5rbKed2E4|width=300|height=200}}
| {{#widget:YouTube|id=xj5rbKed2E4|width=300|height=200}}
|-
|-
Line 20: Line 20:


=== Wikimedia Commons ===
=== Wikimedia Commons ===
{| style="float:right; font-size:85%; text-align: left; border:1px silver solid;"
{| style="float:right; clear:both; font-size:85%; text-align: left; border:1px silver solid;"
| {{Video|url=https://goo.gl/1n8jbi|width=300|height=200}}
| {{Video|url=https://goo.gl/1n8jbi|width=300|height=200}}
|-
|-
Line 27: Line 27:
Using the [https://www.mediawikiwidgets.org/Html5media Html5media widget] and a table for formatting. Use a [https://goo.gl/ URL shortener] if necessary.<!-- ... unless there's a better solution? -->
Using the [https://www.mediawikiwidgets.org/Html5media Html5media widget] and a table for formatting. Use a [https://goo.gl/ URL shortener] if necessary.<!-- ... unless there's a better solution? -->
<pre>
<pre>
{| style="float:right; font-size:85%; text-align: left; border:1px silver solid;"
{| style="float:right; clear:both; font-size:85%; text-align: left; border:1px silver solid;"
| {{Video|url=https://goo.gl/1n8jbi|width=300|height=200}}
| {{Video|url=https://goo.gl/1n8jbi|width=300|height=200}}
|-
|-
Line 37: Line 37:
Using the [https://www.mediawikiwidgets.org/Html5mediaAudio Html5mediaAudio widget] and a table for formatting.
Using the [https://www.mediawikiwidgets.org/Html5mediaAudio Html5mediaAudio widget] and a table for formatting.
=== Externally hosted file ===
=== Externally hosted file ===
{| style="float:right; font-size:85%; text-align: left; border:1px silver solid;"
{| style="float:right; clear:both; font-size:85%; text-align: left; border:1px silver solid;"
| {{Audio|url=https://upload.wikimedia.org/wikipedia/commons/e/ec/Melody_vibrating_synth.ogg}}
| {{Audio|url=https://upload.wikimedia.org/wikipedia/commons/e/ec/Melody_vibrating_synth.ogg}}
|-
|-
Line 43: Line 43:
|}
|}
<pre>
<pre>
{| style="float:right; font-size:85%; text-align: left; border:1px silver solid;"
{| style="float:right; clear:both; font-size:85%; text-align: left; border:1px silver solid;"
| {{Audio|url=https://upload.wikimedia.org/wikipedia/commons/e/ec/Melody_vibrating_synth.ogg}}
| {{Audio|url=https://upload.wikimedia.org/wikipedia/commons/e/ec/Melody_vibrating_synth.ogg}}
|-
|-
Line 50: Line 50:
</pre>
</pre>


=== Locally hosted file ===
=== Locally hosted file ===<!-- not working -->
{| style="float:right; font-size:85%; text-align: left; border:1px silver solid;"
{| style="float:right; clear:both; font-size:85%; text-align: left; border:1px silver solid;"
| {{Audio|name=Synth_filter_sweep.mp3}}
| {{Audio|name=Synth filter sweep.mp3}}
|-
|-
|+ align="bottom"|Sawtooth bass filter sweep with increasing resonance.
|+ align="bottom"|Sawtooth bass filter sweep with increasing resonance.
|}
|}
<pre>
<pre>
{| style="float:right; font-size:85%; text-align: left; border:1px silver solid;"
{| style="float:right; clear:both; font-size:85%; text-align: left; border:1px silver solid;"
| {{Audio|name=Synth_filter_sweep.mp3}}
| {{Audio|name=Synth filter sweep.mp3}}
|-
|-
|+ align="bottom"|Sawtooth bass filter sweep with increasing resonance.
|+ align="bottom"|Sawtooth bass filter sweep with increasing resonance.

Latest revision as of 16:22, 7 September 2017

Very generic filenames should not be used when uploading, as sooner or later someone else will use same name and this will overwrite the first file. File names should be clear and descriptive, without being excessively long.

The embedded file will probably need to precede the text for the paragraph and file to align.

Video

YouTube

id=xj5rbKed2E4|width=300|height=200}}
Using a Hakko BCM or CM tip for drag soldering.

Using the YouTube widget and a table for formatting. Use the video ID from the URL. i.e. if the video's URL is https://www.youtube.com/watch?v=xj5rbKed2E4, then the embed code (in a table) would be:

{| style="float:right; clear:both; font-size:85%; text-align: left; border:1px silver solid;"
| {{#widget:YouTube|id=xj5rbKed2E4|width=300|height=200}}
|-
|+ align="bottom"|Using a Hakko BCM or CM tip for drag soldering.
|}

Wikimedia Commons

url=https://goo.gl/1n8jbi |width=300 |height=200 }}
Adhesive-lined heat-shrink tubing applied using hot air gun.

Using the Html5media widget and a table for formatting. Use a URL shortener if necessary.

{| style="float:right; clear:both; font-size:85%; text-align: left; border:1px silver solid;"
| {{Video|url=https://goo.gl/1n8jbi|width=300|height=200}}
|-
|+ align="bottom"|Adhesive-lined heat-shrink tubing applied using hot air gun.
|}

Audio

Using the Html5mediaAudio widget and a table for formatting.

Externally hosted file

url=https://upload.wikimedia.org/wikipedia/commons/e/ec/Melody_vibrating_synth.ogg }}
A short melody of a swaying vibrating synth pad.
{| style="float:right; clear:both; font-size:85%; text-align: left; border:1px silver solid;"
| {{Audio|url=https://upload.wikimedia.org/wikipedia/commons/e/ec/Melody_vibrating_synth.ogg}}
|-
|+ align="bottom"|A short melody of a swaying vibrating synth pad.
|}

Locally hosted file

url=//static.miraheze.org/sdiywikiwiki/b/b8/Synth_filter_sweep.mp3 }}
Sawtooth bass filter sweep with increasing resonance.
{| style="float:right; clear:both; font-size:85%; text-align: left; border:1px silver solid;"
| {{Audio|name=Synth filter sweep.mp3}}
|-
|+ align="bottom"|Sawtooth bass filter sweep with increasing resonance.
|}

External links