Hi,
1) Yes I can point you in the direction of this code. You would need to manage it between release upgrades of the codebase though, so keep a record of the changes.
2) The code would be custom work as part of the media player plugin. You would just avoid upgrading this plugin on future...