동영상 자동재생 하는 방법좀 알려주세요...
본문
동영상 자동재생하려고 했는데 잘 안됩니다.
자동 재생 하기위해 어떻게 해야할까요?
도와주세요 고수님~!
<video width="640" height="360" controls preload="metadata">
<source src="/theme/purewhite/vod/111.mp4" type="video/mp4">
</video>
<style>
video {
width:100%;
max-width:640px;
height:auto;
}
</style>
답변 1
<video width="640" height="360" controls preload="metadata" autoplay>
<source src="/theme/purewhite/vod/111.mp4" type="video/mp4">
</video>
<style>
video {
width:100%;
max-width:640px;
height:auto;
}
</style>
답변을 작성하시기 전에 로그인 해주세요.