-
Bug
-
Resolution: Unresolved
-
P4
-
7u45
-
JavaFX version: 2.2.45-b18
OS X 10.8.5 (12F45)
$ java -version
java version "1.7.0_45"
Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)
See attached application.
This application creates the MediaPlayer and when the user clicks the Play button the MediaPlayer #play() is called
There are two cases:
If the media is remote ( http:// ) then the following state transition sequence is observed:
{noformat}
Player status READY
Player status PAUSED
Player status PLAYING
Current time 2478.4984950000003 ms
Current time 2577.335442 ms
{noformat}
The PAUSED state should not be entered, sine according to http://docs.oracle.com/javafx/2/api/index.html the only way to enter it is to call pause()
If the media is local (file:// ) the behavior is even more bizarre, the PLAYING state is never entered, but the actual movie is being played. The mediaPlayer.currentTimeProperty() is never invalidated.
{noformat}
Player status READY
Player status PAUSED
{noformat}
This application creates the MediaPlayer and when the user clicks the Play button the MediaPlayer #play() is called
There are two cases:
If the media is remote ( http:// ) then the following state transition sequence is observed:
{noformat}
Player status READY
Player status PAUSED
Player status PLAYING
Current time 2478.4984950000003 ms
Current time 2577.335442 ms
{noformat}
The PAUSED state should not be entered, sine according to http://docs.oracle.com/javafx/2/api/index.html the only way to enter it is to call pause()
If the media is local (file:// ) the behavior is even more bizarre, the PLAYING state is never entered, but the actual movie is being played. The mediaPlayer.currentTimeProperty() is never invalidated.
{noformat}
Player status READY
Player status PAUSED
{noformat}