확장:유튜브
YouTube 출시 상태: 안정 |
|
---|---|
구현 | 태그 , 미디어 |
설명 | 유튜브, 구글 비디오 영화, Archives.org의 음악과 동영상, WeGame과 Gametrailers의 비디오, Tangler포럼과 GoGreenTube 비디오를 넣을 수 있게 합니다. |
만든이 | Przemek Piotrowski |
최신 버전 | 1.9.3 (2018-10-13) |
MediaWiki | 1.35+ |
데이터베이스 변경 | 아니오 |
라이선스 | GNU General Public License 2.0 or later |
다운로드 | |
예제 | Any ShoutWiki site |
YouTube 확장 기능 번역 (translatewiki.net에서 가능한 경우) | |
Vagrant 역할 | youtube |
YouTube 확장기능은 유튜브, 구글 비디오 영화, Archives.org의 음악과 동영상, WeGame과 Gametrailers의 비디오, Tangler포럼과 GoGreenTube 비디오를 넣을 수 있게 합니다.
Originally made by and for Fandom , though Fandom no longer uses this video extension.
설치
- 파일을 다운로드해서,
extensions/
폴더 내의YouTube
이라는 이름의 디렉터리 내에 설치합니다. - 아래의 코드를 LocalSettings.php의 말미에 추가합니다:
wfLoadExtension( 'YouTube' );
완료 – 위키의 ‘Special:Version’에 이동해서, 확장기능이 올바르게 설치된 것을 확인합니다.
사용
유튜브 동영상을 넣는 법:
<youtube>foo</youtube>
foo 가 URL에서 어디에 있냐면 비디오의 URL이 https://www.youtube.com/watch?v=VyBSS48E4xI이라면, "foo"는 이것입니다: <youtube>VyBSS48E4xI</youtube>
=== 지원하는 다른 비디오 서비스
See ShoutWiki's help page on using the YouTube extension for more information, such as using alternate, non-YouTube providers to embed content.
The YouTube extension allows also to embed videos from these services:
Google Videos | <gvideo>
|
Archive.org video | <aovideo>
|
WeGame | <wegame>
|
Tangler forum | <tangler>
|
Gametrailers | <gtrailer>
|
Nicovideo | <nicovideo>
|
GoGreenTube | <ggtube>
|
Setting width and height
Example:
<youtube width="200" height="120">CCz1kmfqL7g</youtube>
You can change the width and height of the video box
- Width is controlled with
width="xxx"
, wherexxx
is the number of pixels.
The default is 640 pixels.
- Height is controlled in the same way with
height="xxx"
.
The default is 385 pixels.
See Fandom's old help page about this extension. It explains further details. Here is a link to the last version of it before it was blanked and redirected to the new video embed tool page on Fandom.
Old Fandom help page
See the Fandom help page on April 11, 2018 before it was redirected to the new video embed tool on Fandom.
That Fandom help page is not on Archive.org, so it is copied below in case Fandom deletes the old page altogether. Fandom licenses their material under CC BY-SA. See Fandom licensing page.
Old Fandom help page. - |
---|
This page documents how to use the YouTube video extension, an older video extension. Videos added using the YouTube tag are automatically converted to file pages so as to help reduce page load time and improve video data tracking. A few exceptions exist and are listed below. Step-by-step Using the YouTube extension To add a video using the YouTube extension, you need the ID code for the video.
The string of letters and numbers after " YouTube videos are embedded using two tags, with the ID code for the video you want to show between them:
"ID code" is the code from the YouTube URL. So in this example, you would use:
You can change the width and height of the video box.
So the example from above could be:
Conversion Once the page with the YouTube tag is saved the tag will be converted to a file page, pulling the name from the YouTube video name. Only the width is converted, except if the height is designed for use in an audio player. Attribution on the file page is attributed to the user who added the YouTube tag. This happens in all circumstances except when the video play bar is smaller than 30 pixels in height. This will render a usable audio player on mobile devices and some desktop browsers (excluding Google Chrome). |