#1  
Old 27th October 2011, 18:36
flirtygirlfitness flirtygirlfitness is offline
Junior Member
 
Join Date: Apr 2011
Posts: 26
Default Cant hide the PLAY button

I have been trying and trying to get rid of the play button using the chromeless player "http://cdn.livestream.com/chromelessPlayer/v21/playerapi.swf" but have not had any success. I am setting the var within LivestreamPlayer.as as _showPlayButton = false, Im trying to pass them as javascript calls like player.showPlayButton(false) and I am trying to pass them as params like params = {showPlayButton: "false"} and nothing seems to be working.

Any help on getting rid of the overlayed player button would be greatly appreciated.
Reply With Quote
  #2  
Old 27th October 2011, 18:50
flirtygirlfitness flirtygirlfitness is offline
Junior Member
 
Join Date: Apr 2011
Posts: 26
Default

Figured it out....

I was trying to pass the call from within LivestreamPlayer.as as:

public var _showPlayButton = false;

then from within onPlayerReady():
player.showPlayButton = _showPlayButton;



So I ditched that and instead wrote the function:
public function showPlayButton():void {
player.showPlayButton = false;
}

then just called the function from within the onPlayerReady()

Now magically the play button is not appearing, so success I guess...
Reply With Quote
Reply

Tags
player api

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump