Flowplayer: Embed the Audio Description Plugin with a Flowplayer Player on Your Webpage

Before you start:

Content Publishing must first be enabled in your 3Play Media account.
See more information on enabling content publishing in your 3Play account.

 If you haven't previously worked with Flowplayer, you must first download the Flowplayer distribution and add the files to your server.

Download the Flowplayer distribution.

Your Flowplayer-compatible videos (MP4, FLV, F4V) should also be loaded onto your server!

Follow the steps below to get started.

Step 1- Open your HTML editor 

Open the application you use to build and edit your webpages.

 

Step 2- Add the Flowplayer .js script in the <head> of the HTML page

Copy the code from the box below and paste it into the <head> of the HTML document.
The path to this file will be unique and will correlate to where it resides on your server.

This line of code should look similar to this:

<script src="path/to/the/flowplayer-3.2.10.min.js"></script>

 

Step 3- Add the video link to the <body> of the HTML page

Copy the link to your video and add it to the body of your HTML document within an href attribute. Also include the preferred dimensions and id="player". Note that the website and file name will be unique to your video and will correlate to where it resides on your server. 

The code should look similar to this:

<a href="http://www.mywebsite.com/myVideo.flv"
style="display:block;width:425px;height:300px;"
id="player">
</a>

 

Step 4- Add the code to load the Flowplayer

Add the following code to load the Flowplayer. Note that the path to this file will be unique and will correlate to where it resides on your server.

The code should look similar to this:

<script language="JavaScript">
flowplayer("player", "path/to/the/flowplayer-3.2.11.swf");
</script>

 

So far your HTML document should look similar to this:

<html>
<head>
<script src="path/to/the/flowplayer-3.2.10.min.js"></script>
</head>
<body>
<a href="http://www.mywebsite.com/myVideo.flv"
style="display:block;width:425px;height:300px;"
id="player">
</a>
<script language="JavaScript">
flowplayer("player", "path/to/the/flowplayer-3.2.11.swf");
</script>
</body>
</html>

Keep this HTML document open. 

Step 5- Log into your 3Play Media account

transcription closed captioning translation account 3Play Media login

Step 6- Create a Plugin Template

> For Player select FlowPlayer from the drop down menu. 
> For Plugin Type choose Audio Description. 
> For Player ID choose a player ID that matches your video id.

Under Plugin Settings you will notice options for a volume equalizer. Selecting this feature allows the audio to automatically lower the source volume while the description plays, and increase the volume when it is done.

When you publish with the Audio Description Plugin, you will see an equalizer icon next to the AD icon. If you decide you want to adjust the volume manually, you can turn this automatic feature on or off by clicking the equalizer icon on your plugin.

After designing the plugin template click Save My Plugin.

Step 7- Select file

From the My Files page in your 3Play Media project click on the name of the file associated with your Flowplayer video.

Select transcript that correlates to Brigthcove video

Step 8- Click Publish Plugin

Click the Publish Plugin button located above your list of files.

Click Publish Plugin

Step 9- Select a Plugin Template

Click Select Your Plugin and from the drop down menu that appears select the plugin template created in step 6.

Select Plugin Template from drop down menu

Step 10- Copy the Plugin embed code

Click the box next to Include SEO Embed, if you would like this to improve SEO.

After selecting a plugin template copy the plugin embed code that appears within the Publish Plugin pop-up menu.

interactive transcript embed code for Flowplayer

   

Step 11- Paste the audio description embed code into your HTML

Go back to your HTML code. Paste the 3Play plugin embed code below the video embed code in the <body> of your HTML.

 Below is an example of what the audio description plugin embed code should look like.   

<script type="text/javascript" src="//static.3playmedia.com/p/projects/11111/files/1111111/plugins/11111.js"></script> 

Once complete, the code should now look similar to the example below:

<html>
<head>
	<script src="path/to/the/flowplayer-3.2.10.min.js"></script>
</head>
<body>
	<a href="http://mywebsite.com/myvideo.flv"
	style="display:block;width:425px;height:300px;"
	id="player">
</a>

<script language="JavaScript">
	flowplayer("player", "path/to/the/flowplayer-3.2.11.swf");
</script>
<script type="text/javascript" src="//static.3playmedia.com/p/projects/11111/files/1111111/plugins/11111.js"></script> 
</body> 
</html>

 

Step 12- Publish the Flowplayer with the audio description plugin

Save your HTML code and publish it! Enjoy!

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk