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

Forums

/

showdigits var not working.

7 replies [Last post]

I'm trying to showdigits for my playlists but they aren't showing up. every track shoulda have digits to make it easier to find a song but it's not working. it worked before but somehow its not..

any help?

EX:
01 - track title
02 - track title

MY CODE:
<embed
src="player.swf"
width="520"
height="400"
allowscriptaccess="always"
allowfullscreen="true"
flashvars="height=400&width=520&displayheight=0&file=playlist.xml&shuffle=true&autostart=false&repeat=true&volume=100&showdigits=true&searchbar=false&showstop=true&frontcolor=0x000000&lightcolor=0x000066&thumbsinplaylist=false&usefullscreen=false"
/></embed>

Review the v4.x player supported flashvars here: http://code.longtailvideo.com/trac/wiki/FlashVars

You are trying to use many v3.x flashvars with a v4.x player.

The v4.x players don't automagically show digits in the tracks, just add them in your playlist.

i'm not using v4.x im still using v3.x...i dont like v4..still sticking to v3

know whats the reason for v3 not showing up digits?

thanks!

OH, you fooled me by naming the player player.swf.

When you say "digits", are you talking about the elapsed/remaining time display on the control bar or the numbers on each track of the playlist?

The flashvar showdigits is to display/hide the elapsed/remaining time on the control bar.

The track numbering appears automagically if you don't have a creator element in your playlist or if the creator element is blank. Then the first line of each track looks like this 1: 2: 3: and so on. If you do have something in the creator element (usually the artist's name), then you will have to add the numbers to the creator element:<creator>1: Artist's Name</creator>

yes i'm trying to show the number of each track in the playlist...not the time elapsed/remaining

my playlist contains the following but track numbering does not show some reason:
(i changed the title/url for privacy)

<?xml version="1.0" encoding="utf-8"?>
<playlist version="1" xmlns="http://xspf.org/ns/0/">
<trackList>

<track>
<title>Ruined</title>
<location>../Ruined.mp3</location>
</track>

<track>
<title>So Far Away</title>
<location>../So_Far_Away.mp3</location>
</track>

</trackList>
</playlist>

Thanks!

I don't have the <creator></creator> tag in the playlist. I tried adding it in, but it still doesn't number the playlist.

bumppppp

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.