This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "player.setMediaTime" Watch "player.setMediaTime" New topic
Author

player.setMediaTime

Carlos Botero
Greenhorn

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));
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: player.setMediaTime
 
Similar Threads
Source code for a creating a tutorial in java using JMF
Search your garden for space rocks
What is life
Handy-Cam Features...
WA #1.....word association