메뉴 건너뛰기

도움말

[유튜브/YouTube] 유튜브 라이브 스트림 웹사이트에 넣기

https://webcam.io/blog/howto-embed-youtube-live.html

 

 

 

Requirements

 

The features Live streaming and Embed live streams need to be enabled in https://www.youtube.com/features. Please follow the instructions there.

 

 

 

To embed into your website, a linked AdSense account seems to be required.

 

 

 

Also refer to:

 

 

 

Live streaming guide

 

Introduction to live streaming

 

 

 

 

 

Embed

 

Set the stream to unlisted or public

 

Go to the “Watch page” (View on watch page link (lower right) in https://www.youtube.com/live_dashboard)

 

Click Share -> Embed to get the embed HTML code

 

example:

 

 

 

<iframe width="560" height="315" src="https://www.youtube.com/embed/XYZ123" frameborder="0" allowfullscreen></iframe>

 

Now the problem is: every time the stream stops and restarts, the ID changes.

 

 

 

To get a permanent URL, you need to change the link to use the Channel ID (12345 in this example):

 

 

 

<iframe width="560" height="315" src="https://www.youtube.com/embed/live_stream?channel=12345" frameborder="0" allowfullscreen></iframe>

 

Get the Channel ID from https://www.youtube.com/account_advanced. Not the User ID!

 

 

 

Add this into your website HTML, and open the website in anonymous browser window to check if the stream displays without error message.

List of Articles
번호 제목 - 글쓴이 조회 수
9 [Authorize.net] 결제 이메일 받기 설정 온라인결제 master 8625
8 [보안인증/Secure Certificate] 2048-bit certificates upgrade 온라인결제 master 16672
7 [페이팔/PayPal] 결제 페이지 타이틀 바꾸기 페이팔 master 15840
6 [페이팔/PayPal] Verified 확인하기 페이팔 master 15027
5 [페이팔/PayPal] "Add to cart" 버튼 만들기 file 페이팔 master 16071
4 [페이팔/PayPal] 한국 계좌 이체 페이팔 master 17233
3 [전자결제대행사/Payment Gateway] 카드 결제 대행사 소개 (Paypal, Authorize.net 등) 온라인결제 master 17766
2 [Authorize.net] 비용 및 회원가입방법 온라인결제 master 17806
1 [보안인증/Secure Certificate] SSL 이란? 온라인결제 master 19355
©2002 GeneralHomepage.Com.All Rights Reserved