Is it possible to modify video resource with custo javascript?

I want to modify the component of Video Resource (Right hand side of the screenshot), by adding custom javascript code when the video is running.


Is possible to modify the functionality of the video resource, or change this button to point to another XBlock?

I have the functionality that I want to add also in a XBlock. Is it possible to add my XBlock inside the video XBlock?