After the 1:100-degree editor inserts the video, it automatically generates a piece of code:
<video class= "Edui-upload-video vjs-default-skin video-js" controls= "" preload= "None" width= "420" height = "280" src= "/userfiles/ueditor/video/20141013/1413188008890052726.mp4" data-setup= "{}" > <source src= "/ Userfiles/ueditor/video/20141013/1413188008890052726.mp4 "type=" Video/mp4 "/> </video>
Second: When playing in the foreground, need to introduce two JS (Firefox or Google support HTML tag)
<link type= "Text/css" rel= "stylesheet" href= "/ueditor/third-party/video-js/video-js.css"/><script language= "JavaScript" type= "Text/javascript" src= "/ueditor/third-party/video-js/video.js" ></script>
Theoretically speaking, only need to introduce:/ueditor/ueditor.parse.js, judge when encountering video tag, call its CSS and JS, but there is a bug, introduced not so, so directly introduced
Three: HTML5 's video supported browser
Four: Solve let IE support video tag
<!--Add the following script to the Head section of the page, non-supported audio/video Tag browser uses--><script src= "http://api.html5media.info/1.1.4/ Html5media.min.js "></script>Searching: <a href= "Http://www.iefans.net/video-kaifangshi-biaoqian-butong-geshi" >html5 video open tabs play different formats depending on the browser </a></div>
Main Introduction JS:
<script src= "Http://api.html5media.info/1.1.4/html5media.min.js" ></script>
Ueditor can be inserted in the FLV, MP4 format files to play on the IE8
Ueditor1.4.3 upload video IE can not play the problem