Bill Thompson
posted this on July 29, 2011 01:25 pm
Setup
Log into Topspin and go to the Promote section of your account and click "New Offer > Streaming Player".


Add Product


If you’re satisfied with the appearance of the widget, click “Publish” in the upper right of the creation form. You will be presented with a preview of your widget, and the embed code that you will need to place this widget on the web. (Don’t worry — you don’t need to get it now. You can always click into the widget again to copy its embed code).
You should always give your widget a quick test from to make sure that it works as expected - if you have videos, try playing them; listen to tracks, see that your slideshow works.
Audio and video files are transcoded to a reduced rate for viewing online. For example, a video file would be transcoded down to about 775kbps for 400x224 AAC 48K 25FPS.
Bandwidth is calculated based on how much a viewer streams, so if someone only loads half a video, the bandwidth charge for that viewing would be half the size of if someone watched all the way through.
We've updated our streaming players twice over the last year, so some artists have specifically asked about using the code for our older players. There are two older player models: The V1 Flash-based Player, and the V2 iframe players. To use the Flash player, all you need to do is enter the widget ID and artist ID into the code below and you're good to go:
<div class="topspin-widget topspin-widget-bundle-widget">
<object type="application/x-shockwave-flash" width="400" height="300" id="TSWidgetENTER-WIDGET-ID" data="http://cdn.topspin.net/widgets/bundle/swf/TSBundleWidget.swf" bgColor="#000000">
<param value="always" name="allowScriptAccess" />
<param name="allowfullscreen" value="true" />
<param name="quality" value="high" />
<param name="movie" value="http://cdn.topspin.net/widgets/bundle/swf/TSBundleWidget.swf" />
<param name="flashvars" value="widget_id=http://cdn.topspin.net/api/v1/artist/ENTER-ARTIST-ID/bundle_widget/ENTER-WIDGET-ID&theme=black&highlightColor=0x91e2e5&displayCTAButton=true" />
<param name="wmode" value="transparent" />
</object>
</div>
To use the V2 iframe player, just input your widget ID in the following embed code:
<iframe id="tsFrameENTER-WIDGET-ID" src="http://cdn.topspin.net/api/v2/widget/ENTER-WIDGET-ID" frameborder="0" width="300" height="300" ></iframe>
Note: Old players (V1 & V2) are no longer supported and will not function on mobile devices.