npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@casls/jquery-av-recorder

v1.0.5

Published

jQuery AV Recorder is a configurable plugin that renders an audio and/or video recorder using HTML5 standards.

Readme

jQuery AV Recorder

This project contains a jQuery plugin that that renders an audio and/or video recorder using HTML5 standards. It uses the WebRTC MediaDevices.getUserMedia() standard as well as Recorder.js to record audio and video directly through the web browser (without the need for Flash). This project also uses Twitter Bootstrap 3.3+ for the UI components.

Browser Support

| Browser | Version | Audio | Video | | --- | --- | --- | --- | | Safari | 11+ | Yes | No | | Chrome | 53+ | Yes | Yes | | Firefox | 36+ | Yes | Yes | | Edge | 12+ | Yes | No |

For additional details on browser capabilities:

Installation

Download the jQuery AV Recorder library here. You must include the JS files in your <head> section of your website. Make sure you adjust file paths accordingly.

<!-- Don't forget to include jQuery and Twitter Bootstrap! -->
<!-- AV Recorder CSS -->
<link href="../AVRecorder/av-recorder.css" rel="stylesheet">
<!-- Progress Loader CSS -->
<link href="../AVRecorder/loader.css" rel="stylesheet">
<!-- RecorderJS library Jul 20, 2016 release -->
<script src="../recorderJs/recorder.js"></script>
<!-- jQuery AV Recorder JS -->
<script src="../AVRecorder/av-recorder-api.js"></script>
<script src="../AVRecorder/av-recorder-html5.js"></script>
<script src="../AVRecorder/av-recorder.js"></script>

You can also install the jQuery AV Recorder with npm.

npm install @casls/jquery-av-recorder

Usage

You MUST include the needed dependencies in the <head> section. See examples/demo.php for examples.

<!-- Don't forget the dependencies. -->
<div id="avRecorder" class=""></div>

<script type="text/javascript">
	$(document).ready(function(){
		$("#avRecorder").AvRecorder('avRecorder',{
			constraints: {
				audio: true,
				video: true,
				video_resolution: "320"
			},
			file: null,
			time_limit: "1800",
			server_upload_endpoint: "/jquery-av-recorder/examples/demoRecordFile.php" //Will be appended to the window.orign that the request is coming from.
		});
	});
</script>

Config Options

{
	constraints: {
		audio: true,
		video: true,
		video_resolution: "320"
	},
	file: null,
	time_limit: "1800",
	server_upload_endpoint: "/media/record-file" //Will be appended to the window.orign that the request is coming from.
}

| config | required | type | example | description | | --- | --- | --- | --- | --- | | constraints | yes | array | {audio: true,video: true,video_resolution: "320"} | An array containing the settings to pass into getUserMedia() as constraints. | | file | no | string | '/downloads/example.mp3' | A string of the path to an existing file. | | time_limit | yes | string | '1800' | A string representing the max amount of time for a recording in seconds. |
| server_upload_endpoint | yes | string | '/media/record-file' | A string of the server endpoint that will be appended to the request's origin. |

Dependencies

Credit

Drupal Media Recorder Plugin developed by the Yamada Language Center