Audio Description - How to Publish Plugin

Step 1 – Get Video Embed Code and P3SDK Code

Each video player has different embed code.  You will need to find the player you are using, and use the embed codes.  You can find examples of the embed code you will need HERE.  

Here is an example of the code needed, if you are using YouTube:

 

<div class="p3sdk-container p3sdk-debug" player_id="yt-player1" player_type="youtube">

       <script type="text/javascript" src="http://www.youtube.com/iframe_api"></script>

       <iframe id="yt-player1" width="560" height="315" src="http://www.youtube.com/embed/1234567?enablejsapi=1" frameborder="0" allowfullscreen></iframe>

</div>

 

Copy this code, and paste it into your HTML editor.

Step 2 - Log in to Your 3Play Media Account

Log into your 3Play Media account at http://account.3playmedia.com

Step 2 – Select audio description file

From the My Files page, select Audio Description to see your processed audio description files. Click the file name of the file you would like to select.   

Audio Description Check on FIles

Step 3 - Publish Plugin Code

Click the Publish button, and then click Audio Description Plugin.

Audio Description Publish Pugin

Audio Description Plugin HTML Code

 

Copy the code given, and add it to your HTML.  Make sure you add the Audio Description Plugin Code inside the <div>.  Here is an example of how your code should now look:

 

<div class="p3sdk-container p3sdk-debug" player_id="yt-player1" player_type="youtube">

       <script type="text/javascript" src="http://www.youtube.com/iframe_api"></script>

       <iframe id="yt-player1" width="560" height="315" src="http://www.youtube.com/embed12345678?enablejsapi=1" frameborder="0" allowfullscreen></iframe>

<script src='https://api.3playmedia.com/p/projects/12345/files/1234567/audio_description.js'></script>

 

</div>

 

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk