Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Moving the "Play" Button


Hi Guys,

Is it possible to move where the play button in the middle of the video displays? I would like to move it to the bottom right corner of the player, just above the control bar. Is this possible? Any help would be appreciated, cheers.

15 Community Answers

JW Player

User  
0 rated :

Only with ActionScript editing and re-compiling of the Flash movie file ( NOT a trivial task).

JW Player

User  
0 rated :

Can somebody confirm that it is possible to take off or modify the play button with the new 4.0 version. Thanks

JW Player

User  
0 rated :

Yes, you can definately modify the play button with version 4 through skinning. Just modify the play button to whatever you want. Regarding removing it alltogether...not sure.

Anyone else got insight into whether the play button can be removed (the big one in the middle of the screen, not the small control bar one)...

JW Player

User  
0 rated :

Hi, I'm trying to do the same: moving the play button. Editing a skin doesn't seem to change anything to the very first button you see (the one on the first video image before you click Play).

Comedian/Mike, could you please highlight which actionscript file needs to be edited (and how if possible) to position the play button somewhere else?

Thank you,
Laurent

JW Player

User  
0 rated :

Hi Jeroen, thank you for your quick answer :)

If they are hardcoded, could you please point us where to hardcode-change it in the meantime? Can't seem to find the right spot (unless it's in the .as files).

Once again excellent work on that player!

Thank you,
Laurent

JW Player

User  
0 rated :

Ok, I've managed to move the Play button where I wanted by recompiling an original 4.0 player with my changes. The problem I have how is that the 'clickable' area is wrong, how could I change it?

Thank you for your help,
Laurent

JW Player

User  
0 rated :

I found this link and it has all the raw files. I was able to take the play button off:
http://code.longtailvideo.com/trac/browser/tags

Hope it helps!!!

JW Player

User  
0 rated :

I need to take the play button off as well, but I'm not a code rewriting kind of guy. Can someone explain to me how to do it, or possibly just give me a copy of the player that has the button removed? Thank you!

JW Player

User  
0 rated :

I am trying to do this in image rotator and not having a lot of luck.

I have programming experience, but flash is new to me.

I downloaded the image rotator flash file at:
bc.. http://developer.longtailvideo.com/trac/browser/tags/imagerotator-3.16/source/imagerotator.fla


because my flash (Version 8) says that the 3.17 one is bc.. Unexpected File Format


I was able to open the 3.16 .fla file, and found the right image bc.. displayIcn
and was able to delete it.

I re-exported the .swf, but all I get is a blank player with the spinning activity icon and nothing else.

I'm wondering if it has something to do with the options I'm choosing on the export.

Any ideas?

JW Player

User  
0 rated :

You need all of the Image Rotator files in the correct directory structure to compile the Image Rotator.

The easiest way to get them in the correct directory structure is to install a subversion client and use it to update the repository on your computer. Then you will have all of the required files in the correct directory structure.

JW Player

User  
0 rated :

I sucessfully moved some buttons from control bar by editing RotatorView.as - i.e the audio on/off button is named "audioBtn" and its x position is tgt.audioBtn._x

JW Player

User  
0 rated :

For JW Player 4.6 open Display.as file and change the following line:

Draw.pos(clip[ICONS[i]],config['width']/2,config['height']/2);

to:

Draw.pos(clip[ICONS[i]], clip[ICONS[i]].width/2 + 10, clip[ICONS[i]].height/2 + 10);

And then compile the file again.

This will put the play button in top left corner.

JW Player

User  
0 rated :

Download and extract files:
http://code.longtailvideo.com/trac/browser/tags/mediaplayer-4-0.zip

There is a flash file (document), called player.fla. Open it in flash. You will see the play button is in the middle with all the other buttons (mute, load bar). The way I did it, I went to Windows -> Library and deleted "playIcon" from display folder. And then went to File -> Export -> Export Movie and saved as player.swf in the same folder overriding the original one.

JW Player

User  
0 rated :

The urls listed above are no longer there. Is there somewhere else I can find these files?

Ethan Feldman

JW Player Support Agent  
0 rated :

@Hector – Here – http://developer.longtailvideo.com/trac/browser/tags

This question has received the maximum number of answers.