In case you want to display your own component with external list of videos in the pop-up window, which users can pick up while working with Video blocks, you can define “externalVideosLibrary” param during plugin initialization as follows:

window.Stripo.init({
  ...,
  externalVideosLibrary: {
      buttonText: 'YOUR BUTTON NAME',
      open: openLibrary(onVideoSelectCallback, onCancelCallback) {
/*
Put your logic here.
             Call                
                 onVideoSelectCallback({                  
                 originalVideoName: 'YOUR VIDEO NAME',                  
                 originalImageName: 'YOUR IMAGE NAME',                  
                 urlImage: 'https://YOUR_STORAGE_IMAGE_URL.png',
                 urlVideo: 'https://your_storage_url/YOUR_FILE',  
                 hasCustomButton: true || false                })           when user select the video from external library.            
             Call                
                 onCancelCallback()            
when user close the library without video selection.
*/
      }
  }
});

Please find a code example here to see how it works.

Did this answer your question?