Brightcove Studio now offers an easy to use player which is well documented here.
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 (highlighted in pink). That’s it!
<div class="p3sdk-container p3sdk-debug" player_id="brightcove-player-6" player_type="brightcove">
<video id="brightcove-player-6" style='width: 720px;height: 480px;'
data-video-id="2676557884001"
data-account="31193522001"
data-player="default"
data-embed="default"
class="video-js" controls></video>
<script src="//players.brightcove.net/31193522001/default_default/index.min.js"></script></div>
*The Plugin SDK is sometimes referred to as "P3SDK".
0 Comments