# Wechat applet wxparse plug-in display video

Time：2019-11-17

Modify the wxparse / html2json.js file in the html2json (HTML, bindname) method

  var node = {
node: 'element',
tag: tag,
};

Here, use node.tag to get the label type, such as img, embed, video

Here my system background editor uses the ckedit to upload the video. The generated note is: Embed

       if (node.tag =="embed"){

var embUrl = node.attr.src;
if (node.attr.src.indexOf('http:')==-1){
embUrl = "http://xxxx.com" + node.attr.src;
}
node.attr.src = embUrl;
node.tag='video';
}

In the plug-in, only the video tag is judged, and the embedded tag is not recognized. All videos cannot be displayed. Add the judgment, and then it will be OK.

## How to search files or directories under CentOS

Search for files or directories: The search for files is great! Because we often need to know where that file is, let’s talk about how to search it! There are also quite excellent ones under Linux Search system! Usually find is not very common! Because the speed is slow, but also very hard disk! Usually […]