embed 는 PC 에서만 재생가능, 모바일에서는 iframe 태그로 해야한다.
<embed width = "512"
height = "384"
src = "http://www.youtube.com/v/주소"
type = "application/x-shockwave-flash"
allowscriptaccess = "always"
allowfullscreen = "true">
</embed>
옵션
- 기본 360, 240-360-480-720-1080
&vq=light
&vq=medium
&vq=large
&vq=hd720
&vq=hd1080
- 자동재생
&vq=&autoplay=1
- 반복재생
?version=2&loop=1
- 시작지점,끝지점
&start=30
&end=300
- 추천동영상 표시
&rel=1
<embed width = "512"
height = "384"
src = "http://www.youtube.com/v/주소?version=2&loop=1&vq=hd720&autoplay=1&start=30&end=60&rel=0"
type = "application/x-shockwave-flash"
allowscriptaccess = "always"
allowfullscreen = "true">
</embed>
<iframe width = "512"
height = "384"
src = "http://www.youtube.com/embed/주소?vq=large&autoplay=0&start=12&rel=1"
frameborder = "0"
allowfullscreen>
</iframe>
댓글 없음:
댓글 쓰기