moviemasher / moviemasher.js

JavaScript library for realtime, browser-based video and audio editing
Mozilla Public License 2.0
305 stars 62 forks source link

mmPlayer frame navigation methods #12

Closed think-01 closed 7 years ago

think-01 commented 7 years ago

what are the frame navigation methods for moviemasher.js? I mean something like gotoAndStop(f) / gotoAndPlay(f) etc.?

syntropo commented 7 years ago

You can go to a particular frame by setting the frame property of the player. This value is in the frame rate of the player - if you have a frame in different rate you can set the time of the player to a TimeRange (which includes rate) and it will be calculated to the nearest frame.