2 posts by 2 authors in: Forums > CMS Builder
Last Post: April 4, 2018   (RSS)

I have a multi section editor called "video" created for uploading a mp4, wmd, ogg videos. In this section editor I also have a field for uploading a video poster image. I know I can use the code generator to get the foreach loop to load the video poster... but that will not work for this particular scenario.

So, I need to create a method that when a video poster image is uploaded and the record is saved, the URL path to the image is added into a text field call "video_poster_url" -OR- a method to find the uploaded video poster and connect it to the videos by matching up the section editor and upload by the nums.

I was thinking about building an add-on to do this, but haven't a clue where to begin to build such an add-on to capture the image URL path. Anyone have any suggestions on where to start?

Thanks, Zicky