Jump to content


Photo

Auto hide flash video controls


  • Please log in to reply
1 reply to this topic

#1 yandoo

yandoo

    Advanced Member

  • Members
  • PipPipPip
  • 470 posts

Posted 24 April 2013 - 05:02 AM

Hiya I have a flash video that pays on my website but I want to remove the controls from the player. What code do i need and where does it go???

 

I've tried adding <param name="skinAutoHide" value="true" /> but it doesnt work

 

 

Thank you :)

 <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="560" height="315">
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="https://allergyfreedomprogramme.com/videos/player.swf" width="560" height="315">
<!--<![endif]-->
<param name="movie" value="https://allergyfreedomprogramme.com/videos/player.swf" />
<param name="wmode" value="transparent" />
<param name="bgcolor" value="#FFFFFF" />
<param name="quality" value="high" />
<param name="allowFullScreen" value="false" />
<param name="allowscriptaccess" value="always" />
<param name="allowscriptaccess" value="always" />
<a href="http://www.adobe.com/go/getflash">
<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
</a>
<param name="flashvars" value="vdo=https://allergyfreedomprogramme.com/videos/Landing-Page.flv&amp;autoplay=true" />
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object> 


Edited by yandoo, 24 April 2013 - 05:06 AM.


#2 Petermichael703

Petermichael703

    Member

  • Members
  • PipPip
  • 21 posts

Posted 13 December 2013 - 01:12 PM

try putting this

}

function hideSkin(evt:Event=null):void {
vpl.skinBackgroundAlpha = 0;
vpl.skin = "";
}' target='_blank'>vpl.skinAutoHide = false;

stage.addEventListener(Event.MOUSE_LEAVE, hideSkin);
stage.addEventListener(MouseEvent.MOUSE_MOVE, showSkin);


function showSkin(evt:Event=null):void {
vpl.skinBackgroundAlpha = .01;
vpl.skin = "SkinOverPlaySeekMute.swf";
}

function hideSkin(evt:Event=null):void {
vpl.skinBackgroundAlpha = 0;
vpl.skin = "";
}

let me know if it helps


Edited by Petermichael703, 13 December 2013 - 01:14 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Cheap Linux VPS from $5
SSD Storage, 30 day Guarantee
1 TB of BW, 100% Network Uptime

AlphaBit.com