Musicoin is a blockchain software project that allows musicians to upload their work to a system that rewards them each time their music is consumed. This can be thought of as a blockchain replacement for spotify and similar systems. Authors are rewarded directly and can receive likes to get bigger rewards. Musicoin is also its own token and can be traded. Currently it has an Universal Basic Income model, which I have not learned about in detail yet.
Musicoin allows authors to embed their music in an iframe player widget so it can be played in external websites. However, at this moment, this player is not embedable in steemit posts.
Components
Steemit posts are the components to be intervened in order to implement this suggestion. From musicoin side, the component is the iframe player which is presented to the user as an html code that should be copy and pasted to the steemit post in order to be included in a post.
Proposal
I've found the exact code that needs to be changed in order to implement this suggestion. In the code for sanitizing configuration found at condenser/src/app/utils/SanitizeConfig.js there is an iframe whitelist. An item for musicoin iframe player should be added to this list in order to allow its embedding. This would imply making a sanitizer for musicoin player that avoids any injection of malicious code. Busy.org uses this same file in its codebase, so the same code may be put there to allow musicoin player embedding.
Benefits
By adding this feature to steemit, musicoin authors will be able to share their work in the platform and their audience will be able to play their material without leaving steemit (or busy.org). Even though this seems as a very small enhancement, it will add value to the user experience in the platform and to the musicoin authors. Some people put youtube or soundcloud content, which is actually allowed by the iframes whitelist, but blockchain projects such as musicoin, and even dtube and dsound, should be supported as well.
Posted on Utopian.io - Rewarding Open Source Contributors