Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

How to get back Showdownload and Showstop

9 replies [Last post]

Hello. I need the basic Showdownload and Showstop buttons flashvars back in version 4. I don't know how to add them to a new skin as I am not a flash expert. Can anyone guide me on how to add them to a skin? Also I have a feature request that the JW Media Player should stop downloading the video file (not just stop playing it) when I click on the showstop button similar to the MC Classic or the MC Altair players. This will save a lot of bandwidth from our servers. Thank you.

Any help please on how to show the showdownload and showstop button?

I would like to know also please.

Yeah me too. My code doesn't appear to be working for them

Jeroen, many users need the Showdownload and Showstop (stops playing and also downloading the file in the player) flashvars by default instead of having to design a new skin with it. Please add them back or give us another default skin option which has both of them. Thanks and awaiting your reply.

Jeroen, would you kindly add these two flashvar variables again in the default skin in the next version? Please do let us know. Just a line is enough.

@hurry,

The STOP button is in the latest version of the player v4.1.53 available from the Subversion repository.

Details here: http://code.longtailvideo.com/trac/

You'll need to install a Subversion client, if you don't already have one installed.

Thanks. Does it stop the file from downloading in the player also only stops the video from playing?

The stop button has been added and it seems to stop the video from downloading too which is so cool. Please also kindly re-add the Download button and the link flashvar so I don't need to think of hiring a programmer to make a skin with the Download button. I really hope this can be done. Thanks.

Adding back ability to select:
- ShowFullscreen button - Yes/No
- ShowDigits button - Yes/No
- ShowDownload button - Yes/No
- UseFullscreen button - Yes/No

The removal of these features has broken AllVideos Reloaded for Joomla.
It may be easier modify the player than delete features users want and need from AVR.
AVR was designed to make this inserting Flash video easy for everyone.
And not require users to be programmers.
Requiring users to learn Flash to remove a simple button is ridiculous.

Looks like adding IF statements in Controlbar.as should do it:
Around line 275 in the SVN as today (2009-02-19)
JW_Player_SVN\trunk\as3\com\jeroenwijering\plugins\Controlbar.as

    /** Process resizing requests **/
    private function resizeHandler(evt:ControllerEvent=null):void {
        var wid:Number = config['width'];
        clip.x = config['x'];
        clip.y = config['y'];
        clip.visible = config['visible'];
        if(config['position'] == 'over' || view.config['fullscreen'] == true) {
            clip.x = config['x'] + config['margin'];
            clip.y = config['y'] + config['height'] - config['margin'] - config['size'];
            wid = config['width'] - 2*config['margin'];
            clip.back.alpha = 0.75;
        } else if(config['position'] != 'none') {
            clip.back.alpha = 1;
        }
        try {
            clip.fullscreenButton.visible = false;
            clip.normalscreenButton.visible = false;
            if(clip.stage['displayState']) {
                if(view.config['fullscreen']) {
                    clip.fullscreenButton.visible = false;
                    clip.normalscreenButton.visible = true;
                } else {
                    clip.fullscreenButton.visible = true;
                    clip.normalscreenButton.visible = false;
                }
            }
        } catch (err:Error) {}
        stacker.rearrange(wid);
        stateHandler();
        fixTime();
        Mouse.show();
    };

Any suggestions on a better way of doing this are welcome.

After I get this working I will make available for download a version of the SVN 4.4.xxx player with these features re-enabled.

Maybe we should call it the
JW FLV Player - AVR Version - the User-Friendly Backwards-Compatible Will-not-break-every-users-existing-website-embedded-Flash-videos Version.