Associate a media source with the created object URL. Add some logic to delegate to native methods.
Add a mapping from object URLs to sourceopen handlers for individual media sources so the SWF can notify a media source when it is opened. Use the prototype chain to delegate to native implementations of media source if they're available for the desired content type.