After TinyMCE uploads the video, the preview cannot be displayed, but the video can be played normally after downloading it

question:

  • When I was working on a project today, I found that after TinyMCE uploaded a video, there was no image in the preview, but it could be played after downloading it.

Solution:

  • It is found that there is a problem with the video encoding method. The video recorded by the QQ screen recording I used has a problem with the video encoding. I need to convert the video to  H264  video encoding.
  • Because the computer does not have the software to convert the video encoding, so I downloaded a  H264  video. After uploading it, I found that it can be played and previewed normally.

The video encoding on the left is not H264 , and the video encoding on the right is H264 .

The article only records the problems I encountered and the solutions.

Guess you like

Origin blog.csdn.net/qq_46784478/article/details/123087024