Help:Video: Difference between revisions
m (Text replacement - "Category:HelpCategory:Help under review" to "Category:Help") |
|||
Line 376: | Line 376: | ||
{{Saintapedia}} | {{Saintapedia}} | ||
[[Category:Help | [[Category:Help]] | ||
[[Category:Extensions]] | [[Category:Extensions]] | ||
{{Cats|Pages with videos|Pages with YouTube videos}} | {{Cats|Pages with videos|Pages with YouTube videos}} |
Latest revision as of 23:11, 7 October 2024
Videos can be shown on Saintapedia from two sources:
- Streamed from the web (see YouTube videos) below
- Videos uploaded directly to Saintapedia (see File Sizes and Process and Mediaplayer)
Below is the general wiki text you need to use for each type.
- {{#ev:service|id|frame}} - Example: The famous "evolution of dance" YouTube video - {{#ev:youtube|dMH0bHeiRNg|frame}})
- <mediaplayer>URL</mediaplayer> - Example: Adding Saintapedia badges to user page - <mediaplayer>File:Adding badges to user page.flv</mediaplayer>
File Sizes and Process
Saintapedia's file upload limit is set to 3MB, which accommodates the vast majority of files on Saintapedia. Research shows that videos of 2-3 minutes in length are optimal for today's attention spans and the 15MB limit should be sufficient for most videos of that length.
Categories
- Please add Category:Videos to your uploaded video.
- Please add Category:Pages with videos to any page that has a video embedded on it. Note: Adding this category is particularly important because the way videos are embedded does not allow Saintapedia to track those links via the What Links Here tool.
YouTube videos
EmbedVideo
The EmbedVideo Extension adds a way embedding video clips from popular video sharing services.
Adding a video
Any publicly available YouTube video can be streamed on Saintapedia.
Form based method
Simple version
- In VisualEditor use the add a template
- In the search bar, type "YouTube video"
- Add a description of the video in the first field
- Add the video's URL into the 2nd field
- Click the blue "Insert" button on the top right of the popup screen
- Click the blue "Save change" button on the top right of the screen
- Click the blue "Save change" button on the top right of the popup screen
More options and more steps
This method will allow you, once you add the template, to modify the video using a form in VisualEditor)
- Add the YouTube template to your page
- Option 1 - Use VisualEditor to add a template, add
subst:YouTube template
in the template search box and click the blue "Insert" button - Option 2 - Copy the video template text in the bullet below.
- {{#ev:YouTube|https://www.youtube.com/watch?v=kRphNpnQGNc|400|right|The Pontificate of John Paul II begins}}
- By default the video will be aligned to the right, 400 pixels in size, show the Pontificate of John Paul II begins
- Option 1 - Use VisualEditor to add a template, add
- Go to the page in which you want to add the video
- Click on "Edit Source" to open the page using Enhanced editor and paste the template text where you want to video to appear
- Save the page
- Using "Edit," open the page using Help:Visual editor, look for the video to become a block that begins with "<iframe," and double click on it to open up the form.
- Add the YouTube URL in the "id" field and appropriate text in the "description" field, such as the video title (plus any other changes to the dimensions and alignment)
- Click on the blue "Apply change" in the upper right hand corner of the form
- Click on the blue "Save change" in the upper right hand corner of the page
- Add an edit summary in the window and click on the blue "Save change" in the upper right hand corner of the window
- Add the category "Pages with YouTube videos"
Basic method
- go to the youtube video you wish to use
- copy the video's url
- go to the article topic you wish to add the video
- edit the page
- paste the YouTube url
- Open a new tab and go to Saintapedia's YouTube page
- Copy the video text -
{{#ev:youtube|kRphNpnQGNc|frame}}
- Replace the video ID (dMH0bHeiRNg) or the full URL (depending on the version you use)
- add an edit summary
- save the page
Usage
The EmbedVideo parser function expects to be called in any of the following ways:
{{#ev:service|id}}
{{#ev:service|id|dimensions}}
{{#ev:service|id|dimensions|alignment}}
{{#ev:service|id|dimensions|alignment|description}}
{{#ev:service|id|dimensions|alignment|description|container}}
{{#ev:service|id|dimensions|alignment|description|container|urlargs}}
{{#ev:service|id|dimensions|alignment|description|container|urlargs|autoresize}}
{{#ev:service|id|dimensions|alignment|description|container|urlargs|autoresize|valignment}}
Playlist
A playlist is a collection of videos. Anybody can make playlists, share them, and friends can add videos to your playlist.
Template
The YouTube playlist template allows you to add a playlist easily, however it does not allow you to adjust some of the settings.
Manual
For all the options, below can be copied and pasted into Enhanced editor.
{{#evt:
service=youtube
|id=https://www.youtube.com/watch?v=X_PiYTMbZvM
|alignment=right
|dimensions=400
|description=Regina Coeli and Holy Rosary
|urlargs=list=PLC9tK3J1RlaYPGhmt_dz5cyFBbDoBOEKB
}}
See also - Help:Video#Playlist example
Attributes for Parser Tags
Attribute | Description |
---|---|
service="(See Supported Services below.)"
|
Required: yes
|
id="[id|url]"
|
Required: yes
|
dimensions="[WIDTH|WIDTHxHEIGHT|xHEIGHT]"
|
Required: no, Default: 640
|
alignment="[left|center|right|inline]"
|
Required: no, Default: none
|
description="[wiki text]"
|
Required: no, Default: none
|
container="[frame]"
|
Required: no, Default: none
|
urlargs="modestbranding=1&version=3"
|
Required: no, Default: none
|
autoresize="false"
|
Required: no, Default: true
|
valignment="[top|middle|bottom|baseline]"
|
Required: no, Default: none
|
Examples
For example, to include the famous "evolution of dance" YouTube video, you'd enter:
{{#ev:youtube|X_PiYTMbZvM|frame}}
And if you wanted scaled down to thumbnail size, on the right with a short description, you could use:
{{#ev:youtube|X_PiYTMbZvM|400|right|This is an embedded video!|frame}}
- Note: See the Project Homepage for more examples.
Supported Services
As of version 2.x, EmbedVideo supports embedding video content from the following services:
Site | Service Name(s) | |
---|---|---|
Archive.org Videos | archiveorg | |
Bambuser | bambuser - Broadcasts | bambuser_channel - Channels |
Bing/MSN | bing | msn |
Blip.tv | blip - Blip requires the full URL to the video page and does not accept the raw ID. | |
CollegeHumor | collegehumor | |
Dailymotion | dailymotion | |
Div Share | divshare | |
Edutopia | Edutopia content moved to YouTube. Please use the youtube service selector below. | |
FunnyOrDie | funnyordie | |
Gfycat | gfycat | |
Kickstarter | kickstarter | |
Metacafe | metacafe | |
Nico Nico Video | nico | |
RuTube | rutube | |
TeacherTube | teachertube | |
TED Talks | ted | |
Twitch | twitch - Live Streams | twitchvod - Archived Videos on Demand |
Videomaten | videomaten | |
Yahoo Screen | yahoo | |
YouTube | youtube - Single Videos | youtubeplaylist - Playlists |
Vimeo | vimeo | |
Vine | vine |
Simple Example
{{#ev:youtube|X_PiYTMbZvM}}
Within a table for formatting and alignment
{|class="wikitable" align=right !Video of Secretary Chu's speech about a "[[Sputnik Moment]]" |- |{{#ev:youtube|DNrOxRpP1PM}} |}
Regina Coeli and Holy Rosary |
---|
Video examples
All of these examples will use the YouTube service.
Basic - Option 1
<youtube>https://www.youtube.com/watch?v=X_PiYTMbZvM</youtube>
Align right
{{#evu:https://www.youtube.com/watch?v=X_PiYTMbZvM
|alignment=right
}}
{{#evu:https://www.youtube.com/watch?v=X_PiYTMbZvM |alignment=right }}
With description
{{#evu:https://www.youtube.com/watch?v=X_PiYTMbZvM
|alignment=right
|description=Regina Coeli and Holy Rosary
}}
{{#evu:https://www.youtube.com/watch?v=X_PiYTMbZvM |alignment=right |description=Regina Coeli and Holy Rosary }}
With dimensions
{{#evu:https://www.youtube.com/watch?v=X_PiYTMbZvM
|alignment=right
|description=Regina Coeli and Holy Rosary
|dimensions=400
}}
{{#evu:https://www.youtube.com/watch?v=X_PiYTMbZvM |alignment=right |description=Regina Coeli and Holy Rosary |dimensions=400 }}
Starting at a specific time
{{#evt: service=youtube |id=https://www.youtube.com/watch?v=vxozFjojpTY |alignment=left |dimensions=400 |description=Regina Coeli and Holy Rosary |urlargs=start=2298 }}
{{#evt: service=youtube |id=https://www.youtube.com/watch?v=vxozFjojpTY |alignment=left |dimensions=400 |description=Regina Coeli and Holy Rosary |urlargs=start=2298 }}
Playlist example
{{#evt: service=youtube |id=https://www.youtube.com/watch?v=X_PiYTMbZvM |alignment=left |dimensions=400 |description=Regina Coeli and Holy Rosary |urlargs=list=PLC9tK3J1RlaYPGhmt_dz5cyFBbDoBOEKB }}
{{#evt: service=youtube |id=https://www.youtube.com/watch?v=X_PiYTMbZvM |alignment=left |dimensions=400 |description=Regina Coeli and Holy Rosary |urlargs=list=PLC9tK3J1RlaYPGhmt_dz5cyFBbDoBOEKB }}
Mediaplayer
Content moved to Hep:Video/Archive
Accessibility
See Accessibility#Video.
Finding videos in Saintapedia
If a video has not yet been added to an appropriate category, you can search the upload log for .mp4 or .flv.
Click
to reload the dynamic lists below.Pages with embedded videos | uploaded videos | large videos/files |
---|---|---|
<dynamicpagelist> category=Pages with videos </dynamicpagelist> |
<dynamicpagelist> category=Videos </dynamicpagelist> |
<dynamicpagelist> category=Large files </dynamicpagelist> |
Related
- TBD
External links
- Instructional videos on using Wikipedia - Any one could be moved over to Saintapedia as long as the license allows it.
- Firefogg - a Firefox addon which supports video encoding to OGV and WebM