<!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <style> video { width: 100%; height: auto; } </style> </head> <body> <video width="400" controls> <source src="/static/demo/video/shanghai.mp4" type="video/mp4"> Your browser does not support HTML5 video. </video> <p>请调整浏览器窗口的大小,来查看视频播放器如何缩放。</p> </body> </html>