To allow people to easily register their own media plugins or de-register media plugins four methods should be added to gifSound along with an event that triggers when people can register their media plugins.
Something along the lines of:
gifSound.registerGifPlugin()
To add a new gif plugin, possibly at an optional offset to make it the priority plugin
gifSound.registerSoundPlugin()
To add a new sound plugin, possibly at an optional offset to make it the priority plugin
gifSound.deregisterGifPlugin()
To remove an existing gif plugin (if it exists) without deleting the object. Returning true/false on success failure?
gifSound.deregisterSoundPlugin()
To remove an existing gif plugin (if it exists) without deleting the object. Returning true/false on success failure?
This'd make adding custom playback plugins a simple matter of making a JavaScript object and registering it. A GreaseMonkey script (that's still a thing right?) could run it on all gifsound2.com pages.
To allow people to easily register their own media plugins or de-register media plugins four methods should be added to gifSound along with an event that triggers when people can register their media plugins.
Something along the lines of:
gifSound.registerGifPlugin()
To add a new gif plugin, possibly at an optional offset to make it the priority plugingifSound.registerSoundPlugin()
To add a new sound plugin, possibly at an optional offset to make it the priority plugingifSound.deregisterGifPlugin()
To remove an existing gif plugin (if it exists) without deleting the object. Returning true/false on success failure?gifSound.deregisterSoundPlugin()
To remove an existing gif plugin (if it exists) without deleting the object. Returning true/false on success failure?This'd make adding custom playback plugins a simple matter of making a JavaScript object and registering it. A GreaseMonkey script (that's still a thing right?) could run it on all gifsound2.com pages.