Getting Play/Pause Buttons to Appear for a SWF Video Ad

Product
Video Cloud
Applies to Roles
Developer
Version
Brightcove 5
Edition
Pro, Enterprise

To get the Play/Pause buttons to appear when using a SWF in the video ad slot, add the code below on the first frame of the movie. This code will allow the Video Cloud player controls to pause and play the SWF video ad.

function playAnimation() {

    play();

}
function pauseAnimation() {

    stop();

}