Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

player.setMediaTime

 
Carlos Botero
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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));
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic