In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
The editor will share with you the method of uploading videos on phpcms. I hope you will gain a lot after reading this article. Let's discuss it together.
How does phpcms upload videos?
The solution when uploading video files by phpcms-v9
1. It is not recommended to upload video files directly in the background, because video files are generally large, and direct upload affects bandwidth. You can first upload video files to a specified directory through the ftp tool, and then introduce the address of video files in the background.
two。 What if you only want to display the "Network File" option when uploading a video? As shown in the figure:
Procedure:
Step 1: modify the flashupload method in the phpcms/statics/js/swfupload/swf2ckeditor.js file:
Step 2: modify the swfupload method in the phpcms/modules/attachment/attachments.php file:
Step 3: modify the phpcms/modules/attachment/templates/swfupload.tpl.php template file:
Where did 3.dizhi_images come from? Answer: you can define the name you specify when you customize the video field in the model.
Note: sometimes when using the program to generate thumbnails, the picture will be distorted, so the effect shown in the foreground is not very good; if you want to obtain a high-quality high-definition atlas, you can also use the ftp tool to upload the designed fixed-size image to the server
After reading this article, I believe you have a certain understanding of the method of uploading videos on phpcms. I would like to know more about it. Welcome to follow the industry information channel. Thank you for reading!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.