Difference between revisions of "Help:GCwiki Videos"

From wiki
Jump to navigation Jump to search
m (Replaced content with "{{Clear}} == Embed a YouTube video == You need to use the [https://www.mediawiki.org/wiki/Extension:IframePage iframe page] extension to embed your YouTube videos. Here...")
Tag: Replaced
m
 
Line 5: Line 5:
 
You need to use the [https://www.mediawiki.org/wiki/Extension:IframePage iframe page] extension to embed your YouTube videos. Here's how to do it:  
 
You need to use the [https://www.mediawiki.org/wiki/Extension:IframePage iframe page] extension to embed your YouTube videos. Here's how to do it:  
 
* Open the YouTube page of the video you want to embed.
 
* Open the YouTube page of the video you want to embed.
* Click on the '''Share''' button that appears below the video window, and select the "Embed" option.
+
* Click on the '''Share''' button that appears below the video window.
* '''Copy''' the code for the iframe tag
+
* '''Copy''' the url
 
[[File:Youtube image embed.png|500px|link=https://www.youtube.com/watch?v=X7gWEgHeXcA]]
 
[[File:Youtube image embed.png|500px|link=https://www.youtube.com/watch?v=X7gWEgHeXcA]]
 
* '''Paste''' only the last, video id code part, of the url inside <nowiki>{{Special:IframePage/YouTube|path=your video id}}</nowiki> in your Wiki page
 
* '''Paste''' only the last, video id code part, of the url inside <nowiki>{{Special:IframePage/YouTube|path=your video id}}</nowiki> in your Wiki page

Latest revision as of 10:06, 14 January 2020

Embed a YouTube video

You need to use the iframe page extension to embed your YouTube videos. Here's how to do it:

  • Open the YouTube page of the video you want to embed.
  • Click on the Share button that appears below the video window.
  • Copy the url

Youtube image embed.png

  • Paste only the last, video id code part, of the url inside {{Special:IframePage/YouTube|path=your video id}} in your Wiki page
    • This uses the IframePage special page as a template with your youtube video id as a parameter

{{Special:IframePage/YouTube|path=X7gWEgHeXcA}}