DIsable auto rewind?

Posted by sammi 
DIsable auto rewind?
September 28, 2008 02:55PM
Is it possible to prevent the player form rewinding when it has finished?

I would like the video to stop on the last frame.

Best,
Sammi
Re: DIsable auto rewind?
September 29, 2008 01:52AM
You cannot do this. You can set the loop property to false and the clip will not be repeated but the playhead will be moved to the first frame.
Re: DIsable auto rewind?
September 29, 2008 04:33PM
Roger that.

Would you consider a feature request regarding this? I think it is often quite useful to have the video stop on the last frame.

Even for my current project that is a specific requirement that I must fulfill. I will possibly do some hack - and possibly use another player. That would be to bad because I really like this player.

Best,
Sammi
Re: DIsable auto rewind?
September 30, 2008 01:42AM
Hi Sammi,

Thank you for your feedback. We will consider your request for a future version.
Thanks again.
Re: DIsable auto rewind?
December 09, 2008 09:52AM
Negush, why does the startPhotoSource image is not seen when the video ends playing and goes and stops to the first keyframe. Is this keyframe different from the one which initially it start playing from?
Re: DIsable auto rewind?
December 10, 2008 01:20AM
The standard functionality of the component is that when the video ends, the playhead moves to the beginning of the timeline, to the first frame of the video. The image that is displayed through the startPhotoSource property is an image that is shown until the video gets loaded, so there won't be an empty background displayed while the viewer waits.
Re: DIsable auto rewind?
December 10, 2008 02:28PM
But I am getting empty background once the player stops playing, I have already send the source files to Neaga.
Re: DIsable auto rewind?
December 11, 2008 12:53AM
The first frame of your video is an empty frame with black background, so when the playhead goes back to the first frame it will display just that.
Re: DIsable auto rewind?
December 11, 2008 11:25AM
I dont have premiere, is that a way i can do it in jc player itself?
Re: DIsable auto rewind?
December 12, 2008 01:12AM
No, JCPlayer is only for playing the video file. You cannot edit the video clips with it. Maybe this will help you out: http://www.flvjoiner.com/flv-editor.html.
Re: DIsable auto rewind?
December 16, 2008 12:04PM
The answer I got from Neaga is that the images are displayed at the beginning, while the video files are loading. This is how the player was designed to work. However, you could use a workaround for this, by reloading the video file when the video reached the end. So you need to listen for the STOP event and set the videoURL property of the player again to your clip. This will reload the clip and load the jpg file.

But when I try to put any actionscript, I get this warning, Warning: 5002: The frame scripts of the symbol 'JCPlayer ' have been ignored because a compiled clip contains a definition for JCPlayer. To override the JCPlayer definition, place a custom class file within your classpath.
Re: DIsable auto rewind?
December 17, 2008 01:56AM
I think there's something wrong with your file. According to the error message you have two JCPlayer definitions in your file and that's wrong. Please try to correct that.
Re: DIsable auto rewind?
December 17, 2008 03:42AM
Any chance someone can post the action script to: " reloading the video file when the video reached the end. So you need to listen for the STOP event and set the videoURL property of the player again to your clip. This will reload the clip and load the jpg file."
Re: DIsable auto rewind?
December 18, 2008 01:13AM
Here's an example:
import JCPlayerEvent;

playerInstance.addEventListener(JCPlayerEvent.STOP, reloadVideo);

function reloadVideo(evtObj:JCPlayerEvent):void {
    var newURL : String = playerInstance.videoURL;
    playerInstance.videoURL = newURL;
}

You need to change playerInstance with the instance name you gave to your player.
Re: DIsable auto rewind?
June 19, 2009 09:27PM
This is an interesting discussion.. thank you for sharing.

pret auto
Re: DIsable auto rewind?
December 04, 2009 03:03PM
Also need the ability to turn off autoRewind. other players can do this but they're crap in other ways. would be nice to have one with everything in one place.
Re: DIsable auto rewind?
December 10, 2009 10:21AM
jgilbert,


thank you for your suggestion. We will discuss about it once we plan to update the component.
Re: DIsable auto rewind?
February 12, 2010 10:09AM
I want this feature, too! I really need this !
Re: DIsable auto rewind?
December 08, 2010 04:32PM
ok
i assume that you will never add this feature cos last post was added almost year ago and still nothing changes in that case?
Re: DIsable auto rewind?
December 09, 2010 07:16AM
We are sorry, but e didn't have time for planning a JCPlayer update. We will consider this but only in the future.
Sorry, only registered users may post in this forum.

Click here to login