Socket
Socket
Sign inDemoInstall

console-vlog

Package Overview
Dependencies
0
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    console-vlog

fast screen capturing.


Version published
Weekly downloads
2
increased by100%
Maintainers
1
Install size
15.1 kB
Created
Weekly downloads
 

Readme

Source

console.vlog()

fast screen capturing.

Usage

<script type="module">
	import { Vlog } from "./bundle.esm.js";
	var recorder = new Vlog({ name: "download" });
	console.log(recorder);

	document.getElementById("start").addEventListener("click", function () {
		recorder.start();
	});
	document.getElementById("end").addEventListener("click", function () {
		recorder.stop();
	});
</script>

also offer commonjs packages for use. (end with cjs.js).

test it

clone this repo, and use http-server . after run npm run build.

open the browser(chrome preferred),and get http://127.0.0.1:8080/test.html

Log

2020-11-23 : mvp version

TODO

  1. when end the capturing, automatically save the video.

Q&A

Access to script at 'file:///C:/Users/xujx/workspace/console-vlog/dist/bundle.esm.js' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, chrome-untrusted, https.

this may because you open test.html as a file, plz run npm run dev to start the example. view http://127.0.0.1:8080/test.html

FAQs

Last updated on 08 Sep 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc