<iframe width="0" height="0" src="https://www.유튜브.com/embed/54tpbO0yILY?si=va2Fl_X6y_9-UsaN&controls=0&autoplay=1" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen=""></iframe>

이 태그 고대로 붙여넣고
그다음 퍼올 유튜브 음악 주소를 찾




퍼렁색 유튜브 어쩌구 주소 보이쥬?

저기서 따온 유튜브 주소를 저위에 붉은색 주소에 바꿔넣어주면 쉽쥬?

숏츠도 같은 방식으로 되는거 확인함



숏츠 주소를 저 맨위 태그 붉은 주소대체해서 넣으면 됨

눈 안좋은 할배들위해서 한번 더 적음
https://유투붕.com/shorts/_SaJzVIfhf0?si=lHn247Ep5bi377Am

이게 주소임
_SaJzVIfhf0?si=lHn247Ep5bi377Am

쇼츠 영상을 적용해보면

<iframe width="0" height="0" src="https://www.유튜부.com/embed/_SaJzVIfhf0?si=lHn247Ep5bi377Am&controls=0&autoplay=1" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen=""></iframe>

참 쉽죠잉?

요기서부턴 응용


&start=250&end=300

위의 이런 태그를 넣어주면 

영상의 250초부터 300초까만 재생한다는뜻

&start=250

단독으로 사용해서 250초 부터 음악을 재생해도됨

정수라 4분짜리 음악영상에 클라이막스가 2분30초면

60초=1분,2분30초=150초

&start=150 <=150초부터 :2분30초 부터 클라이막스 재생해라 이렇게됨

<iframe width="0" height="0" src="https://www.유튜브.com/embed/54tpbO0yILY?si=va2Fl_X6y_9-UsaN&controls=0&autoplay=1" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen=""></iframe>

연두색글씨뒤에 &start=250&end=300넣어주면됨
src="https://www.유튜브.com/embed/54tpbO0yILY?si=va2Fl_X6y_9-UsaN&controls=0&autoplay=1&start=250&end=300"

src="https://www.유튜브.com/embed/54tpbO0yILY?si=va2Fl_X6y_9-UsaN&controls=0&autoplay=1&start=250"

이런식으로 넣어주면됨

루프 기능이 있긴한대 여기저기 알아보고 이것저것 시도해봣는대

특정구간의 반복을 지원을안함   html로는 한계가있음
하려면 apl 어쩌구로 할수있는대 우리 령감님들 이거보다 한 100배는 복잡해지는대 하겟어?
포기해 

아무튼
루프기능은
영상하나를(음악을) 계속 반복재생해주는거야 

아주 짧은 소리나 음악 이 있을수있으니깐 이것 또한 활용해봐

루프는 
&loop=1&playlist=
이 태그를 또 넣어줘야되

<iframe width="0" height="0" src="https://www.유튜브.com/embed/54tpbO0yILY?si=va2Fl_X6y_9-UsaN&controls=0&autoplay=1&start=250&end=300" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen=""></iframe>

 위 태그는 특정구간의 재생 태그를 적용
&start=250&end=300 이게 들어간 태그임 

아까 특정구간의 반복이 안된다고했자나  그래서 저기다 루프 집어넣어봐야 무쓸모얌

500초짜리 영상이라 가정하면 

저상태로 루프 태그 붙이면 250초에 시작해서 300초에 끝나고 다시 1초부터 시작해서  500초에끝나고
다시 1초부터 500초 반복재생

적용이안되는것지 어쩐지는 몰?루
앙댐 아무튼  

결론은 

에이프릴 라라라라라 이노래 같은 경우엔 3분14초 짜리 노랜대

1초부터 15초까지 나름 킬링파트가 앞쪽에있더라고
&start=1&end=15
이렇게 세팅하면 1~15초 다시 1~194초  다시 1~194초 이렇게 재생되는대

특정곡의 앞쪽구간 2번 재생하는걸로 응용할수 있을듯

어차피 령감님들 주사위 굴리면 그 글에 10초이상 상주안해있자나??

뭐 대단한 토론들하신다고 그쟈?

아무튼 위에꺼 응용해보면

<iframe width="0" height="0" src="https://www.유튜브.com/embed/54tpbO0yILY?si=va2Fl_X6y_9-UsaN&controls=0&autoplay=1&start=1&end=15&loop=1&playlist=" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen=""></iframe>

이렇게 되는대 

대충 빨강은 유튜브 주소 
하늘색은 컨트롤러없고 
자동플레이하고 
1초부터 15초까지 재생 반복해줘! 
(어차피 특정구간 반복재생안됨)
width="0" height="0"  화면?플레이어? 크기임 둘다 0으로 두면댐

디폴트값은 
width="560" height="315" 이건대 심심하면 이것도 적용해서 사이즈 줄여보든가 하셈

하지만 글에 유튜브 화면 떠있으면 브금 갬성 박살이즇?

쨋든

&loop=1&playlist= 이뒤를 채워줘야됨  

<iframe width="0" height="0" src="https://www.유튜브.com/embed/54tpbO0yILY?si=va2Fl_X6y_9-UsaN&controls=0&autoplay=1&start=1&end=15&loop=1&playlist=54tpbO0yILY" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen=""></iframe>


빨간글씨에 같은색 54tpbO0yILY 이게 유튜브 영상 주소임 뒤에 si=로시작하는건 유툽에서 보안인가 나발인가

머라던대 알고싶지도않고 자동부여하는듯 

아무튼 

&loop=1&playlist=
&loop=1&playlist=54tpbO0yILY   <=이 유튜브 영상주소를 넣어줘야됨


특정 구간을 선택안하고 그냥 곡 통으로 반복재생 하면 밑에 태그가 완성형

<iframe width="0" height="0" src="https://www.유튜브.com/embed/54tpbO0yILY?si=va2Fl_X6y_9-UsaN&controls=0&autoplay=1&loop=1&playlist=54tpbO0yILY" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen=""></iframe>



루프로 이것저것 구간반복 해본다고 
에이프릴 LALALILALA? 이곡으로 계속 몇시간째 해보다가 포기
이 노래 처음들어보는대 
노래 너모좋자나?? 
알랴준 검딱이엿나? 고맙읍니다

확실한건 아니고 
유튜브 주소 퍼올때 유튜브 음량 영향 받는듯
테스트 해본다고 몇곡 해봣는대 전부다 음량 다르게 해놓고 주소 따왓는대
전부다 브금의 음량이 다른듯

 
대충 생각 나는대로 써서 가독성 떨어지지만 
궁금한거 쪽지하지말고
한번더 읽고 앙대면
포기해요


잘 작동되면..이니좀...
"줘"

월루들 브금빵빵으로 공격해란~