1
2
3
4
5
6
7
8
9
|
<
video
id
=
"MY_VIDEO_1"
class
=
"video-js vjs-default-skin"
controls
preload
=
"auto"
width
=
"320"
height
=
"240"
poster
=
"MY_VIDEO.jpg"
data-setup
=
"{}"
>
<
source
src
=
"MY_VIDEO.mp4"
type
=
'video/mp4'
>
<
source
src
=
"MY_VIDEO.webm"
type
=
'video/webm'
>
<
p
class
=
"vjs-no-js"
>To view this video please enable JavaScript, and consider upgrading to a web browser that <
a
href
=
"http://videojs.com/html5-video-support/"
target
=
"_blank"
>supports HTML5 video</
a
></
p
>
</
video
>
|
原文链接:
网页插入视频,转发请注明来源!