Example page: Difference between revisions

From Filmwerkplaats MediaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:




example code for embed videos from Youtube and Vimeo
==example code for embedding videos from YouTube and Vimeo==


'''Youtube:'''
==='''Youtube:'''===


{{#ev:youtube|d8OexIJVhNc}}
{{#ev:youtube|d8OexIJVhNc}}


{{#ev:youtube|d8OexIJVhNc|640|left|My video caption}}




==='''vimeo:'''===
{{#ev:vimeo|916350262}}
=== code explanation ===
 
{{#ev:youtube|d8OexIJVhNc|640|center|My video caption}}
<syntaxhighlight lang="wikitext">
the video above is use the code:
{{#ev:youtube|d8OexIJVhNc|640|center|My video caption}}
the embedding video code follow the structure as such:
  {{#ev:service|id|width|alignment|description}}
  {{#ev:service|id|width|alignment|description}}


in this case, the service = youtube
id = URL address
width is in pixels
alignment could be left, center or right.
decriotoin could be a video caption.


'''vimeo:'''
</syntaxhighlight>
 
{{#ev:vimeo|916350262}}

Revision as of 19:48, 11 May 2025


example code for embedding videos from YouTube and Vimeo

Youtube:



vimeo:

code explanation

My video caption
 the video above is use the code:
 {{#ev:youtube|d8OexIJVhNc|640|center|My video caption}}
 
 the embedding video code follow the structure as such:
 {{#ev:service|id|width|alignment|description}}

 in this case, the service = youtube
 id = URL address
 width is in pixels
 alignment could be left, center or right.
 decriotoin could be a video caption.