How to generate/create embedding code for other websites
<p>We have a web site designed to supply visitors to listen various songs&amp;albums of specific artists and playlists created by editors or users themselves. Main player we use on site is flowplayer. </p>

<p>Additionally, We are working on a function that provides visitors with getting the embed code of a song/album/playlist that is planned to be automatically generated after clicking "Get embed code" button on related song&amp;playlist page. Also, in accordance with our plans, users should have an ability to customize the width, length and theme parameters before getting embed code of what they listen actually. There are several top websites like spotify and apple music doing this function. </p>

<p>I conducted my researches about this topic on many resources for hours. However, what I encountered is mostly about obtaining embed code of a specific video&amp;song and where to place it in the source code of user's own sites. I'm interested on the other side of the process, "kitchen". Therefore, due to that I couldn't find any sufficient source/document, I came here to ask great people who know the drill around this subject to help my question, at least canalize me to correct&amp;detailed resources for our project. </p>

<p>Thank you all!</p>