* Convert seconds to frames using the current framerate. * * @param seconds - The seconds to convert.
(seconds: number)
| 12 | * @param seconds - The seconds to convert. |
| 13 | */ |
| 14 | public secondsToFrames(seconds: number) { |
| 15 | return Math.ceil(seconds * this.playback.fps); |
| 16 | } |
| 17 | |
| 18 | /** |
| 19 | * Convert frames to seconds using the current framerate. |
no outgoing calls
no test coverage detected