Bootstrap

js截屏 video_用原生JS和html5进行视频截图并保存到本地

Video视频截图

body, h1, h2, p { margin:0; padding:0; }

html { font-family:"微软雅黑"; background-color:#e9e9e9; }

h1 { font-size:24px; font-weight:normal; padding:20px 0; text-align:center; color:#858585; background:-webkit-linear-gradient(rgba(0, 186, 255, .8), rgba(0, 130, 255, .8)); border-bottom:1px solid #009cff; color:#FFF; margin-bottom:50px; }

video { display:block; margin:0 auto 30px auto; }

canvas { display:none; }

button { display:block; width:480px; height:50px; font-size:24px; margin:0 auto; border:1px solid #0085ff; color:#FFF; background:-webkit-linear-gradient(rgba(80, 170, 255, .8), rgba(0, 132, 255, .8)); cursor:pointer; border-radius:5px; margin-bottom:30px; }

button:hover { background:-webkit-linear-gradient(rgba(0, 132, 255, .8), rgba(80, 170, 255, .8)); border-color:#1988ff; }

h2, p { width:480px; margin:0 auto; color:#858585; }

h2 { margin-bottom:1em; font

;