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

Forums

/

Stop On Last Frame?

14 replies [Last post]

I just upgraded from v4.0.46 to the newest version.

On the older version, the video would play, and stop on the last frame. The new version rewinds back to the beginning. Is there any way to easily have the newer version stop on the last frame, like the older version? Maybe a "stoponlastframe" flashvar?

Please help. Thanks!

Anyone have an answer??

yeah i really miss this feature as well...any way you can bring it back as a var?

What version of the player were you using when it was last available?

I "MAY" be able to help you but I don't know which source code last offered the feature.

Lately many features seem to appear and disappear without notice or warning. IE; screenalpha, securetoken in a playlist when using an RTMP server.

Jimb

Jimb...

I upgraded from v4.0.46, to v4.3.x.

@wmbell

If you want to change things back to how 4.0.46 worked, download the distribution folder for the version you want to use, unzip it, navigate to /com/jeroenwijering/player folder and then open up the Model.as file. I can't tell you what line numbers you will need to change because I'm not sure what version that will be BUT at approximately line 182 you will see these two lines of code.

thumb.visible = true;
display.media.visible = false;

Change them to read

thumb.visible = false;
display.media.visible = true;

Then open up the player.fla file and recompile the player. Now copy the new player.swf you create to your web site.

If you want to watch a step by step video of how to make the change, here is a link.<strong>http://mymail.playourvideo.net/smovl.htm?id=lastframetweak.mp4</strong>Here's a link to a test file that shows the modification works as you described.<strong>http://mymail.playourvideo.net/tsmovl.htm?id=test2.flv</strong>Regards - Jimb

This was a wonderful tutorial!

I have not tried it yet, but I will.

Would you mind telling me what each of the "thumb.visible" and "display.media.visible" variables do?

Thanks! =)

Would someone please post a link to an altered player, for those of us that are not able to compile one. Thanks.

Hmmm.. the tutorial video doesn't load for me... but the instructions didn't work either. Technically, I had 3 lines of thumb.visible etc lines... didn't seem to make any difference what I set any of these.

The old tutorial removed as it was very stale dated. It was for a much older version of the player. For the player currently available in the trunk the lines to change are 182 & 183 in the model.as file. They should look like this to get the player to leave the last frame in the display.

<strong> case ModelStates.COMPLETED:
thumb.visible = false;
display.media.visible = true;</strong>

Regards - Jimb

thank you !!!!!!!!!!!

Is there a way to recompile the player if we don't have Adobe Flash?

 
@Luke,

You can compile the v5 player with free tools.

See: http://developer.longtailvideo.com/trac/wiki/Player5WikiStart

It's still beta, but it works.

    http://willswonders.myip.org:8074/Simple_SingleFile_v5.html

@Jimb

Downloaded the distribution directory for Player 5 but can't find the correct .as file to change.

As a noob, I presume when you say 're-compile' it means re-saving the .flv player file as a .swf file?

GREAT instructions - this is just what I needed!