Closed pixellet14 closed 1 year ago
I see "Uncaught ReferenceError: videoEditor is not defined" while trying to build. below is my code
var options = { fileUri: videoPath, outputFileName: "trimmed_video.mp4", startTime: minValue, endTime: maxValue, optimizeForNetworkUse: VideoEditorOptions.OptimizeForNetworkUse.YES, saveToLibrary: true, maintainAspectRatio: true, videoBitrate: 1000000, audioChannels: 2, audioSampleRate: 44100, audioBitrate: 128000, }; videoEditor.transcode( function(result) { console.log("Trimmed video saved at: " + outputFilePath); }, function(error) { console.log("Video trim failed: " + error); }, options );
OOps sorry, please close it... i did a spelling mistake there. it's working great!
I see "Uncaught ReferenceError: videoEditor is not defined" while trying to build. below is my code