MCPcopy Create free account
hub / github.com/OpenSourcePhysics/osp / nextFrame

Method nextFrame

src/swingjs/api/js/HTML5Video.java:495–495  ·  view source on GitHub ↗

Advance to the next frame, using seekToNextFrame() if available, or using the time difference supplied. @param jsvideo @param dt seconds to advance if seekToNextFrame() is not available @return true if can use seekToNextFrame()

(HTML5Video jsvideo, double dt)

Source from the content-addressed store, hash-verified

493 *
494 */
495 public static boolean nextFrame(HTML5Video jsvideo, double dt) {
496 Boolean canSeek = (Boolean) getProperty(jsvideo,"_canseek");
497 if (canSeek == null) {
498 setProperty(jsvideo, "_canseek", canSeek = Boolean.valueOf(getProperty(jsvideo, "seekToNextFrame") != null));

Callers 1

actionPerformedMethod · 0.95

Calls

no outgoing calls

Tested by 1

actionPerformedMethod · 0.76