웹사이트나 블로그에 YouTube 동영상 또는 재생목록을 퍼갈 수 있습니다. 참고: 연령 제한 동영상은 대부분의 제3자 웹사이트에서 시청할 수 없습니다. 이러한 동영상을 재생하면 시청자가 YouTube로
리디렉션됩니다. 개인 정보 보호 강화 모드 사용 YouTube 내장 플레이어의 개인 정보 보호 강화 모드를 사용하면 내장된 YouTube 콘텐츠의 조회수가 시청자의 YouTube 탐색 환경에 영향을 미치지 않습니다. 즉, 내장된 플레이어의 개인 정보 보호 강화 모드에 표시된 동영상 보기가 개인 정보 보호 강화 모드 내장 플레이어 또는 시청자의 후속 YouTube 시청 환경에서 YouTube 탐색 환경을 맞춤설정하는 데 사용되지 않습니다. 내장된 플레이어의 개인 정보 보호 강화 모드에 표시된 동영상에 광고가 게재되는 경우 이러한 광고는 맞춤설정된 것이 아닙니다. 또한 내장된 플레이어의 개인 정보 보호 강화 모드에 표시된 동영상 보기가 사이트 또는 앱 외부의 시청자에게 표시되는 개인 맞춤 광고에 사용되지 않습니다. 참고로 YouTube 내장 플레이어 액세스 및
사용 시 YouTube API 서비스 약관 및 개발자 정책이 적용됩니다. 개인 정보 보호 강화 모드를 사용하려면 다음 단계를 따르세요. 예: 이전 <iframe width="1440" height="762" src="https://www.youtube.com/embed/7cjVj1ZyzyE" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe> 후 <iframe width="1440"
height="762" src="https://www.youtube-nocookie.com/embed/7cjVj1ZyzyE" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe> 참고: 시청자가 퍼간 플레이어를 종료하여 다른 웹사이트나 앱으로 리디렉션된 경우, 해당 웹사이트나 앱의 정책 및 약관에 따라 시청자의 동작이 추적될 수 있습니다. 퍼간 동영상 자동으로 재생하기 퍼간 동영상을 자동으로 재생하려면 동영상 소스 코드의 동영상 ID('embed/' 뒤에 나오는 문자열) 바로 뒤에 '&autoplay=1'을 추가하세요. 자동재생되는 퍼간 동영상은 동영상 조회수에 영향을 미치지 않습니다. 예:
퍼간 동영상에 시작 지점 지정 동영상이 특정 지점부터 재생되게 하려면 동영상의 소스 코드에 '?start='를 추가하고 이어서 동영상 재생을 시작할 시간을 초 단위로 입력합니다. 예를 들어 동영상을 1분 30초부터 재생되게 하려면 다음과 같은 소스 코드를 사용합니다. <iframe allowfullscreen="" frameborder="0" height="315" src="http://www.youtube.com/embed/UkWd0azv3fQ?start=90" width="420"></iframe> 퍼간 동영상에 자막 추가 동영상 소스 코드에 '&cc_load_policy=1'을 추가하면 퍼간 동영상에 자막이 자동으로 표시됩니다. 퍼간 동영상에 사용할 자막 언어도 선택할 수 있습니다. 퍼가려는 동영상의 자막 언어를 지정하려면 동영상의 소스 코드에 '&cc_lang_pref=fr&cc_load_policy=1'을 추가하면 됩니다.
동영상 퍼가기 사용 중지 업로드한 동영상을 다른 사용자가 외부 사이트로 퍼가는 것을 원하지 않는 경우 다음 단계를 따르세요.
도움이 되었나요? 어떻게 하면 개선할 수 있을까요?
개요이 문서에서는 애플리케이션에 YouTube 플레이어를 삽입하는 방법을 설명하고 YouTube 내장 플레이어에서 사용할 수 있는 매개변수를 정의합니다. IFrame URL에 매개변수를 추가하여 애플리케이션의 재생 환경을 맞춤설정할 수 있습니다. 예를 들어 이 페이지에서는 현재 YouTube 내장 플레이어에서 지원되는 모든 매개변수를 정의합니다. 각 매개변수 정의는 해당 매개변수를 지원하는 플레이어를 식별합니다. 참고: 내장 플레이어에는 200x200픽셀 이상의 표시 영역이 있어야 합니다. 플레이어에 컨트롤이 표시되는 경우에는 표시 영역이 최소 크기 미만으로 축소되지 않고 컨트롤이 완전히 표시될 만큼 커야 합니다. 16:9 플레이어의 경우 가로 480픽셀, 세로 270픽셀 이상으로 지정하는 것이 좋습니다. YouTube 플레이어 삽입다음 메소드를 사용하여 애플리케이션에 YouTube 플레이어를 삽입하고 플레이어 매개변수를 지정할 수 있습니다. 아래 안내는 단일 동영상을 로드하는 플레이어를 삽입하는 방법을 보여줍니다. 다음 섹션에서는 플레이어를 구성하여 재생목록 및 검색결과와 같은 다른 유형의 콘텐츠를 로드하는 방법을 설명합니다. <iframe> 태그를 사용한 플레이어 삽입
IFrame Player API를 사용하지 않고 직접 https://www.youtube.com/embed/VIDEO_ID 아래의 <iframe id="ytplayer" type="text/html" width="640" height="360" src="https://www.youtube.com/embed/M7lc1UVf-VE?autoplay=1&origin=http://example.com" frameborder="0"></iframe> IFrame Player API를 사용한 플레이어 삽입IFrame Player API 안내에 따라 Player API의 자바스크립트 코드가 로드된 후 동영상 플레이어를 웹페이지 또는 애플리케이션에 삽입합니다. 동영상 플레이어의 생성자에서 두 번째 매개변수는 플레이어 옵션을 지정하는 객체입니다. 해당 객체 내에서 아래의 HTML 및
자바스크립트 코드는 <div id="ytplayer"></div> <script> // Load the IFrame Player API code asynchronously. var tag = document.createElement('script'); tag.src = "https://www.youtube.com/player_api"; var firstScriptTag = document.getElementsByTagName('script')[0]; firstScriptTag.parentNode.insertBefore(tag, firstScriptTag); // Replace the 'ytplayer' element with an <iframe> and // YouTube player after the API code downloads. var player; function onYouTubePlayerAPIReady() { player = new YT.Player('ytplayer', { height: '360', width: '640', videoId: 'M7lc1UVf-VE' }); } </script> 재생할 콘텐츠 선택내장 플레이어를 구성하여 동영상, 재생목록, 사용자가 업로드한 동영상 또는 특정 검색어의 검색결과를 로드할 수 있습니다. 다음 목록은 이러한 옵션을 설명합니다.
지원되는 매개변수다음 매개변수는 모두 선택 항목입니다.
업데이트 기록August 23, 2018Note: This is a deprecation announcement for the
These changes will become effective on or after September 25, 2018. After that time, the August 16, 2018The September 15, 2017The June 12, 2017The new November 1, 2016This document has been updated to remove references to the deprecated Flash (AS3) player as well as to parameters only supported by that player. The YouTube Flash player was deprecated in January 2015. October 20, 2016This update contains the following changes:
August 11, 2016This update contains the following changes:
December 18, 2015European Union (EU) laws require that certain disclosures must be given to and consents obtained from end users in the EU. Therefore, for end users in the European Union, you must comply with the EU User Consent Policy. We have added a notice of this requirement in our YouTube API Terms of Service. August 19, 2015
March 9, 2015
October 14, 2014
July 18, 2014
January 28, 2014
May 10, 2013This update contains the following changes:
July 20, 2012This update contains the following changes:
June 5, 2012This update contains the following changes:
May 4, 2012This update contains the following changes:
May 3, 2012This update contains the following changes:
March 29, 2012This update contains the following changes:
August 11, 2011This update contains the following changes:
June 8, 2011This update contains the following changes:
February 14, 2011This update contains the following changes:
February 3, 2011This update contains the following changes:
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Last updated 2019-07-16 UTC. [{ "type": "thumb-down", "id": "missingTheInformationINeed", "label":"필요한 정보가 없음" },{ "type": "thumb-down", "id": "tooComplicatedTooManySteps", "label":"너무 복잡함/단계 수가 너무 많음" },{ "type": "thumb-down", "id": "outOfDate", "label":"오래됨" },{ "type": "thumb-down", "id": "translationIssue", "label":"번역 문제" },{ "type": "thumb-down", "id": "samplesCodeIssue", "label":"샘플/코드 문제" },{ "type": "thumb-down", "id": "otherDown", "label":"기타" }] [{ "type": "thumb-up", "id": "easyToUnderstand", "label":"이해하기 쉬움" },{ "type": "thumb-up", "id": "solvedMyProblem", "label":"문제가 해결됨" },{ "type": "thumb-up", "id": "otherUp", "label":"기타" }] |