How does Oxwall implement video upload?

Source: Internet
Author: User
Tags oxwall
How does Oxwall implement video Upload? This post was last edited by wzh_xw.pdf at 13:12:33

I searched for a post about OxWall in the forum, but I don't know if I have any friends who are familiar with OxWall, or who are familiar with php and smarty. I 'd like to ask a question. I want to change "add video" in Oxwall to upload video, because not everyone can paste the embedded code. if the embedded code is not correct, the video cannot be connected, it is easy to change to local upload. However, I haven't finished it for a few days, and I don't know how to change it. I don't know much about smarty, even the php I just learned. My idea is to change the "embedded code" column on the "add video" page to the "edit box and add button" of the video file, then, when you click the "add" button below, upload the file to the server. The original page 1 is what I want to make. The interface is like this, I don't know where to change the response event of the button. I tried to add another button for upload, but the strange thing is that both buttons responded to the "add" event.


-Original interface


-New interface


Reply to discussion (solution)

Has no one changed this? I didn't see anyone discussing this issue on the Oxwall official forum, and no one answered the question of uploading files,

Button response events should be controlled in front-end js

Button response events should be controlled in front-end js

Thank you. can you tell me which js file it is? I have read a few changes, but it does not take effect if I delete the temporary files in the ow_smarty directory?

No solution


This indicates that your system does not provide the video upload function.
It's not a little effort to add it.
At least two program files are involved. uploading large files is also a problem.


This indicates that your system does not provide the video upload function.
It's not a little effort to add it.
At least two program files are involved. uploading large files is also a problem.

The program was originally designed like this, but I want to change it to support video upload, so I have this post. I switched from C to php for a few months. php is not familiar yet, and there are a bunch of js and html

That's why I said that.
You must first learn how to write the program for file upload and then read the program. Consider how to integrate your program

That's why I said that.
You must first learn how to write the program for file upload and then read the program. Consider how to integrate your program
Excuse me! It took a long time to understand other people's programs. on the official website, I saw that no one answered the question asked by others for a year. I thought I would try csdn to see if my colleagues in China have handled this question. Well, you have to fill in the code ~~

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.