html 5 비디오 태그를 테스트 중입니다.html5로 비디오를 볼 수 없습니다.
나는 http://www.kaltura.org/project/HTML5_Video_Media_JavaScript_Library과 http://camendesign.co.uk/을 사용하고 있습니다.
광고 소재 일반 비디오를 다운로드했습니다.
외부 링크를 사용하면 동영상이 재생됩니다. 그래서 내 서버에 비디오를 업로드했지만 재생되지 않습니다. 저장할지 또는 응용 프로그램에 재생할 것인지 묻습니다.
외부 링크 http://cdn.kaltura.org/apis/html5lib/kplayer-examples/media/bbb400p.ogv으로 이동하면 브라우저에서 자동으로 재생됩니다.
로컬에서도 테스트했으나 재생되지 않습니다.
나는 누군가가 왜 나에게 문제를 해결할 수 있기를 바라고있다.
이 코드는 작동합니다.
<figure>
<video id="vid1" width="500" height="300" style="position:absolute"
poster="http://cdn.kaltura.org/apis/html5lib/kplayer-examples/media/bbb480.jpg"
durationHint="33"
controls = "true">
<source src="http://cdn.kaltura.org/apis/html5lib/kplayer-examples/media/bbb400p.ogv" />
<source src="http://cdn.kaltura.org/apis/html5lib/kplayer-examples/media/bbb_trailer_iphone.m4v"/>
</video>
</figure>
이것은 아닙니다.
<figure>
<video id="vid1" width="500" height="300" style="position:absolute"
poster="http://cdn.kaltura.org/apis/html5lib/kplayer-examples/media/bbb480.jpg"
durationHint="33"
controls = "true">
<source src="http://www.mywebsite.com/media/bbb400p.ogv" />
<source src="http://www.mywebsite.com/media/bbb_trailer_iphone.m4v"/>
</video>
</figure>
이것은 작동하지 않습니다.
<figure>
<video id="vid1" width="500" height="300" style="position:absolute"
poster="http://cdn.kaltura.org/apis/html5lib/kplayer-examples/media/bbb480.jpg"
durationHint="33"
controls = "true">
<source src="http://127.0.0.1/html5videotest/media/bbb400p.ogv" />
<source src="http://127.0.0.1/html5videotest/media/bbb_trailer_iphone.m4v"/>
</video>
</figure>
작동? –