Go
Not registered? Sign up!

Stop On Last Frame?

Google Translate
13 posts | return to the Feature Suggestions forum | get the rss feed for this thread

Mar. 06, 2009wmbell

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!

Mar. 12, 2009wmbell

Anyone have an answer??

Mar. 20, 2009ovva

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

Mar. 20, 2009Jimb

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

Mar. 25, 2009wmbell

Jimb...

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

Mar. 25, 2009Jimb

@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.http://mymail.playourvideo.net/smovl.htm?id=lastframetweak.mp4Here's a link to a test file that shows the modification works as you described.http://mymail.playourvideo.net/tsmovl.htm?id=test2.flvRegards - Jimb

Mar. 30, 2009wmbell

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! =)

May. 06, 2009mp4lover

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

Jul. 30, 2009lalala

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.

Jul. 31, 2009Jimb

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. case ModelStates.COMPLETED:
thumb.visible = false;
display.media.visible = true;
Regards - Jimb

Nov. 05, 2009pinnokio

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

Nov. 09, 2009Luke

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

Nov. 10, 2009hobbs

 
@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

Add a reaction

You can also return to the category or try this search for related threads.


 

Search the Forums

Go

Support

Support Here are some helpful links to learn more about the JW Player™:

Monetize Your Video

Monetize Your Video Earn money with ads from LongTail's AdSolution. Watch our demos and sign up now!

Why Buy a License?

Why Buy a License? If you don’t buy a commercial license, you cannot use a JW Player™ on (i) a site that has ads; (ii) a corporate site; or a (iii) CMS. Our licenses are very inexpensive, so what are you waiting for? Buy a license today.