HTML5 video does not include any video frame API. It is not possible to detect video frame rate through JavaScript; therare no any API functions related to video frames.
The Nuevo plugin assumes that video frame rate (FPS) is 24 frames per second. The user may adjust FPS to any other value. Below, you can find the most popular FPS values used for videos.
- film: 24,
- NTSC : 29.97,
- NTSC_Film: 23.98,
- NTSC_HD : 59.94,
- PAL: 25,
- PAL_HD: 50,
- web: 30,
- high: 60
Code snippet
const player = videojs({ "myplayer", {license: "license_key", fps: 29.97 });orplayer.nuevo({ fps: 29.97 });Code snippet
<input type="button" value="Next frame" onclick="player.nextFrame()"/><input type="button" value="Previous frame" onclick="player.previousFrame()"/>Code snippet
player.gotoFrame(1200);