File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes player.setMediaTime Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "player.setMediaTime" Watch "player.setMediaTime" New topic


Carlos Botero

Joined: May 22, 2012
Posts: 1
How to code in Java (with Java Media Framework) when the player reaches a certain time playing a video clip (for example, reaching 3.124 minutes in reproduction time), it generates an event?

Also, does this code moves the reproduction time of a video clip to 5 minutes? If not, what does it do? (I cannot make it work in my code, and I'm not understanding that time format):
player.setMediaTime(new Time(300*1000000));
I agree. Here's the link:
subject: player.setMediaTime
jQuery in Action, 3rd edition