AOL Video Player

Using the AOL Video player

AOL Video Uploads users can use the DHTML based TPM player (The Player Module) to play back videos uploaded to AOL Video Uploads. TPM requires specific playback resolutions.

Using The Code

TPM Embed Parameters:

  • Domain: Localization is supported. Here the player domain is specified (e.g. us.video.aol.com, fr.video.aol.fr, etc.). Users in the United States will typically use “us.video.aol.com”
  • Player Arrangement: Specify the player arrangement name. The options here are:
    • us_en_video_320x372_snag
    • us_en_video_408x406_snag
    • us_en_video_748x541_full
    • us_en_video_988x725_full_utility
  • AutoPlay: Specify if the player automatically start when it is loaded? Yes or no?
  • Layout Options: Specify if the player is to be embedded or popped-up
  • Target Div ID: If the embedded player is to be called using “innerHTML replace” specify the target div
  • Group: Used when including multiple arrangements on a single page to prevent messaging collisions between interoperable players and ad modules.
  • AVUID: Specify the AVUID where the asset type is AVU.
TPM Sample Code: The TPM code requires that a the Javascript file mp.js be included in the header of the html file in order to ensure its proper function:
<script type="text/javascript" language="javascript" 
src="http://o.aolcdn.com/mediaplayer/mp.js"></script>
The code is then placed in the body of the page:
<script type="text/javascript" language="javascript">
mp.launcher('us_en_video_400x373', 
'refid:video:asset:ug:5ff92c0968a92327904e9a7c7d6ae301',
['embed:true','autoplay:1','domain:us.video.aol.com','group:1']);
</script>
Highlighted in yellow are the parameters you should adjust to create your own implementation of the player. At a minimum, you'll want to adjust the ID of the video (in this example, 5ff92c0968a92327904e9a7c7d6ae301) to be one returned by the upload API.

This code produces the player seen below:

 


Enable the Subscriptions block here!