Videojs播放RTMP流媒體
阿新 • • 發佈:2019-01-26
<!DOCTYPE html> <html> <head> <title>播放器</title> <link href="video-js.css" rel="stylesheet" type="text/css"> <script src="video.js"></script> <script> videojs.options.flash.swf = "video-js.swf"; </script> </head> <body> <video id="example_video_1" class="video-js vjs-default-skin" controls preload="none" width="640" height="480" data-setup="{}"> <source src="rtmp://live.hkstv.hk.lxdns.com/live/hks" type="rtmp/flv"/> </video> </body> </html>