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

531 B

Video.js 播放 MP4 文件

<!DOCTYPE html>
<html>
    <head>
        <title>RTMP</title>
        <link href="video-js/video-js.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="video-js/video.min.js" type="text/javascript"/>
    </body>
</html>