NotePublic/Software/Development/Web/Video.js/Video.js_播放_MP4_文件.md

18 lines
524 B
Markdown
Raw Permalink Normal View History

# Video.js 播放 MP4 文件
```html
<!DOCTYPE html>
<html>
<head>
<title>RTMP</title>
<link href="css/video-js.min.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<video id="example_video_1" class="video-js vjs-default-skin" controls preload="auto" width="640" height="480" data-setup="{}">
<source src="http://10.20.1.238:9090/video/IVIN.mp4" type="video/mp4"/>
</video>
<script src="js/video.min.js" type="text/javascript"/>
</body>
</html>
```