My company is trying to redirect the file (specifically video files) uploads from Confluence Server to Sharepoint server. We want to store only video files in Sharepoint side. I would like to develop a plug-in or macro to basically overwrite the attachment upload function where I will check for the video files and upload only video files into Sharepoint server. It's fine if we can't play the video from Confluence web page. We are fine with playing video from Sharepoint web page. This is my first time working with Confluence and Sharepoint so having a bit trouble understanding how feasible this would be.
My current plan is to develop a Confluence plug-in with Attachment Listener class to redirect the save location.