phpcms attachment realizes Flash upload and replaces H5 upload

Replace Flash upload with H5 upload and other rich text editor versions?

Since Google Chrome announced that it no longer supports flash upload, and phpcms defaults to flash upload, it is not officially maintained, so we can only open it.

The online h5 upload plug-ins are really dazzling, and the functions are relatively complete, I first chose uploadfive.js, although all the functions have been implemented, but the attachment suffix processing is not so perfect, and later changed to Baidu webuploader.js, I feel that this is quite powerful. It automatically recognizes whether it supports h5. If it does not support flash upload, it is compatible with lower version browsers. The renderings are as follows:

Insert picture description here

Insert picture description hereInsert picture description hereInsert picture description here

Contact QQ:315828807
WeChat: mobansu

Guess you like

Origin blog.csdn.net/weixin_38592569/article/details/103161824