-
Bug
-
Resolution: Cannot Reproduce
-
P4
-
None
-
7u21
-
MAC OSX, Windows-7 32/64 bit, XP 32 bit
Hi,
JavaFx- 2.2.21-b31
Java- 1.7.0_21
I am using JavaFx 2.2.21-b31 and facing problem with Play/Pause control.
You can use the Demo Application from case no https://javafx-jira.kenai.com/browse/RT-27663,As I do not have authority in my JIRA account to attach any file.
Here is the scenario
I start playing Media file in MediaPlayer and when it reaches at the End of Media I called stop() method on the setOnEndOfMedia() method to restart the media file from the Start-Position when user click play() again, here is the code which I used
mediaPlayer.setOnEndOfMedia(new Runnable() {
@Override
public void run() {
mediaPlayer.stop();
}
});
In the previous version of JavaFx it do not have any issue and the Media file goes to the start position, But with this version of JavaFx (2.2.21-b31) I found following issues
1. It reaches to the start but on the call of Play() it does not play the Media file but setOnEndOfMedia() being called automatically again.
2. On 2-4 hit of Play() button some time it start playing and some-time not.
I feel Some problem with stop() method or EndOfMedia behavior,
Thanks
JavaFx- 2.2.21-b31
Java- 1.7.0_21
I am using JavaFx 2.2.21-b31 and facing problem with Play/Pause control.
You can use the Demo Application from case no https://javafx-jira.kenai.com/browse/RT-27663,As I do not have authority in my JIRA account to attach any file.
Here is the scenario
I start playing Media file in MediaPlayer and when it reaches at the End of Media I called stop() method on the setOnEndOfMedia() method to restart the media file from the Start-Position when user click play() again, here is the code which I used
mediaPlayer.setOnEndOfMedia(new Runnable() {
@Override
public void run() {
mediaPlayer.stop();
}
});
In the previous version of JavaFx it do not have any issue and the Media file goes to the start position, But with this version of JavaFx (2.2.21-b31) I found following issues
1. It reaches to the start but on the call of Play() it does not play the Media file but setOnEndOfMedia() being called automatically again.
2. On 2-4 hit of Play() button some time it start playing and some-time not.
I feel Some problem with stop() method or EndOfMedia behavior,
Thanks