How to make a video editing system in a website [closed]

  javascript, laravel, node.js, php, video

I want to build a website with the functionalities below. On the website, there will be 10 pre-design templates. people will be able to upload their videos, will be able to select music from the list, will put some information, and once click generate the system will give the video as merged as output. Please tell me how do I do it? using javascript or LARAVEL or is there any API available?
Please check the below link for sample :

Source: Ask PHP