Help:Videos

From ScottishClimbs

Jump to: navigation, search

You can add videos from YouTube and Vimeo to any page on ScottishClimbs; news, articles, guides and also on our Special videos page. We do have some guidelines to make sure SC remains useable for everyone (don't worry they are mostly just common sense stuff)

This Page is a WORK IN PROGRESS

Contents

The Simple Way

The simple way works well for adding videos to news and articles

Youtube Videos

To add a youtube video, find the desired video on youtube.com.

e.g.

http://www.youtube.com/watch?v=example

Now copy the section in bold (the video's ID) and paste it in to the following code:

{{#widget:YouTube|id=example}}

Note the capital letters.

Vimeo Videos

Firstly find the desired video on Vimeo

e.g.

http://www.vimeo.com/example

Now copy the section in bold (the video's ID) and paste it in to the following code:

{{#widget:Vimeo|id=example}}

With Vimeo videos you can also alter the dimensions like so:

{{#widget:Vimeo|id=3579013|width=400|height=255}}

400x300 is the default size

See mediawiki for more help.

Aligning

You can align your videos to the right, left or centre of the page eg:

{{#widget:Vimeo|id=10779782|align=right}}

or

{{#widget:YouTube|id=CKuaiemiB2I|align=centre}}

or

{{#widget:Vimeo|id=10779782|align=left}}

With comments box

Here's some code that works for adding videos to the wiki. It gives a comments box on the left, and video on the right. Change the bits in CAPITALS. The video url is the full web address of the video. The video ID is only the long number at the end of the address.

Youtube

<div class="video">

{{#widget:YouTube|id= VIDEO ID |align=right}}

=== VIDEO NAME ===

'''Route:''' ROUTE NAME AND GRADE.

'''Climber:''' CLIMBER NAME

'''Video:''' AUTHOR NAME AND DATE

'''Desc:''' SHORT DESCRIPTION [VIDEO URL Comments]

<br style="clear:both;" />
</div>

Vimeo

<div class="video">

{{#widget:Vimeo|id= VIDEO ID |align=right}}

=== VIDEO NAME ===

'''Route:''' ROUTE NAME AND GRADE.

'''Climber:''' CLIMBER NAME

'''Video:''' AUTHOR NAME AND DATE

'''Desc:''' SHORT DESCRIPTION [VIDEO URL Comments]

<br style="clear:both;" />
</div>
Personal tools