Reply
New Member
Waszka
Posts: 1
Registered: ‎04-13-2012
0 Kudos

mute function is undefined

Hi,

 

I'm working with brightcove script:

 

<script language="JavaScript" type="text/javascript" src="http://admin.brightcove.com/js/BrightcoveExperiences.js"></script>

 

and I would like to mute sound programatically. However mute function is not available ( I call that code inside template ready handler):

 

            if (modVP.canPlayWithoutInteraction()) {
               modVP.play();
               modVP.mute(true);
            }

 How can I solve it?

 

Thanks,Pawel

 

Brightcove Team
BC-Oscar
Posts: 503
Registered: ‎12-11-2008
0 Kudos

Re: mute function is undefined

 

  Yes, the Smart Player API doesn't support volume APIs yet. 

 

http://docs.brightcove.com/en/smart-player-api/symbols/brightcove.api.modules.VideoPlayerModule.html

 

  That API is available in the Flash only API.