[javascript] 팝업창으로 youtube 실행하기
2017.06.27, shhan
javascript
<script>
function youtubeFullscreen(url){
window.open(url,"","fullscreen,scrollbars")
}
</script>
html
<input type="button" onClick="youtubeFullscreen('https://www.youtube.com/embed/nvzM_oKA6QQ')" value=" 창 열기 ">
감사합니다.