thePlatform Plugin SDK Set Up

thePlatform provides an easy to use player using iframe and script tag which is documented here.
thePlatform is supported by p3sdk version 1.11.0 and above, and p3sdk supports thePlatform's PDK6 version of the player. 

Note: When using the iframe embed method, you'll need to use the external controller.

When publishing a player, select the in-page code option and insert it into your p3sdk div as shown below. Add an id to the video tag that is identical to your player_id. That’s it!

<div class="p3sdk-container" player_id= "the-platform-player-3play" player_type="the_platform"> 
<script type="text/javascript" src="http://player.theplatform.com/pdk/<account-pid>/tpPdkController.js"></script>
<iframe
id="the-platform-player-3play"
src='https://player.theplatform.com/p/<account-pid>/<player-pid>/select/media/<media-public-id>?form=html'
onload='$pdk.bind(this, true); $pdk.controller.setIFrame(this, true);'>
</iframe>
</div>
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.