通过canvas获取视频第一帧封面图
<pre<codeletvideodocument.createElement(&39;video&39;);video.style&34;width:0;height:0;position:fixed;right:100%;&34;video.muted&39;
<pre<codeletvideodocument.createElement(&39;video&39;);video.style&34;width:0;height:0;position:fixed;right:100%;&34;video.muted&39;
<blockquote转载请注明文章出处:<ahref"https://link.segmentfault.com/?encQLU%2Btehw3%2FigT6WKU%2B7Fnw%3D%3D.uctpLerOuhV37gV5QL2og1qOwdA%2FEDZQx%2FVOj5H2a%2FZ
Inrails,thereisnormallyaviewcorrespondingtoanaction.Soifyouwanttodosomespecialstylesbasedondifferentpages,youcanrendercontr