메뉴 건너뛰기

도움말

[유튜브/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
번호 제목 - 글쓴이 조회 수
11 [마젠토2/Magento2] 유튜브 소스 넣기 마젠토 2 GH 230
10 [마젠토2/Magento2] Display Out of Stock Product 마젠토 2 GH 441
9 [마젠토2/Magento2] 세율 설정, Tax Rates 마젠토 2 master 414
8 [마젠토2/Magento2] 비밀번호 강제 변경 옵션 설정 마젠토 2 master 3279
7 [마젠토2/Magento2] 할인 코드 설정 마젠토 2 master 434
6 [마젠토2/Magento2] 상품 정렬 - 관리자 페이지 마젠토 2 master 436
5 [마젠토2/Magento2] 배송비 설정 (Flat Rate) 마젠토 2 master 528
4 [마젠토2/Magento2] 리인덱싱 (Clear Index) 하기 마젠토 2 master 801
3 [마젠토2/Magento2] 상품 등록 마젠토 2 master 583
2 [마젠토2/Magento2] Attribute Option, 속성에 옵션 값 추가하기 file 마젠토 2 master 1323
1 [마젠토2/Magento2] Bulk Update 마젠토 2 master 1615
©2002 GeneralHomepage.Com.All Rights Reserved