Video Concatenation in React.js
I am trying to concatenate one video to another in react.js, but the code snippet I copied from the docs isn't working.
new CloudinaryVideo("kitten_fighting.mp4") .resize(fill().width(300).height(200)) .videoEdit( concatenate( videoSource("dog").transformation( new Transformation().resize(fill().width(300).height(200)) ) ).prepend() );
This is the code snippet I copied from the docs. I replaced "kitten_fighting.mp4" and "dog" with the publicID of the videos I want to merge in the cloud.
Please I need a more detailed guide on how to do this.