Skip to content

taisukef/capture5sec.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

capture5sec.js

how to use

capture 5 sec after pressed F3 or F4

onkeydown = async (e) => {
  if (e.key == "F3") {
    if (!globalThis.capture5sec_gif) {
      globalThis.capture5sec_gif = (await import("https://taisukef.github.io/capture5sec.js/gif-capture5sec.js")).capture5sec;
    }
    capture5sec_gif();
  } else if (e.key == "F4") {
    if (!globalThis.capture5sec_mp4) {
      globalThis.capture5sec_mp4 = (await import("https://taisukef.github.io/capture5sec.js/mp4-capture5sec.js")).capture5sec;
    }
    capture5sec_mp4();
  }
};

sample

screenshot.mp4

https://taisukef.github.io/qrdots/

dependency

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages