videojs-record
Advanced tools
Comparing version 1.4.0 to 1.5.0
{ | ||
"name": "videojs-record", | ||
"version": "1.4.0", | ||
"version": "1.5.0", | ||
"homepage": "https://github.com/collab-project/videojs-record", | ||
@@ -36,4 +36,4 @@ "description": "A video.js plugin for recording audio/video/image files.", | ||
"video.js": ">=5.0.0", | ||
"wavesurfer.js": ">=1.0.57", | ||
"videojs-wavesurfer": ">=1.2.0", | ||
"wavesurfer.js": ">=1.2.0", | ||
"videojs-wavesurfer": ">=1.2.6", | ||
"recordrtc": ">=5.2.9" | ||
@@ -40,0 +40,0 @@ }, |
videojs-record changelog | ||
======================== | ||
1.5.0 - 2016/09/30 | ||
------------------ | ||
- Added `audioMimeType` and `videoMimeType` settings for H264 support (#92) | ||
- Listening for `tap` events to support touch on mobile now (#71) | ||
- Bumped required version for videojs-wavesurfer to 1.2.6 and wavesurfer.js to | ||
1.2.0 for access to their `exportImage` method (#91) | ||
1.4.0 - 2016/05/25 | ||
------------------ | ||
- Add `reset` method to reset the plugin without destroying it (#73) | ||
- Release existing object URLs (#70) | ||
- Added `reset` method to reset the plugin without destroying it (#73) | ||
- Releasing existing object URLs now (#70) | ||
@@ -14,4 +23,4 @@ | ||
- Add `enumerateDevices` API (#16) | ||
- Prevent invalid or negative value in `formatTime` (#46 by @zang) | ||
- Added `enumerateDevices` API (#16) | ||
- Preventing invalid or negative value in `formatTime` now (#46 by @zang) | ||
@@ -22,10 +31,10 @@ | ||
- Add compatibility for single file recording introduced in Chrome 49+ (by | ||
- Added compatibility for single file recording introduced in Chrome 49+ (by | ||
@zang) | ||
- Prefer `navigator.mediaDevices.getUserMedia` instead of deprecated | ||
- Preferring `navigator.mediaDevices.getUserMedia` instead of deprecated | ||
`navigator.getUserMedia` if available | ||
- Stop using deprecated `MediaStream.stop()`; use `MediaStreamTrack.stop()` | ||
instead | ||
- Add `audioRecorderType` and `videoRecorderType` options | ||
- Bump required version for videojs-wavesurfer to 1.1.0, wavesurfer.js to | ||
- Added `audioRecorderType` and `videoRecorderType` options | ||
- Bumped required version for videojs-wavesurfer to 1.1.0, wavesurfer.js to | ||
1.0.57 and recordrtc to 5.2.9 for microphone and Chrome fixes | ||
@@ -45,6 +54,6 @@ - Fixes for latest release of the libvorbis.js plugin (1.1.1). This also | ||
- New settings: `audioChannels`, `frameWidth` and `frameHeight` (#35) | ||
- Disable video.js `loop` option permanently (#42) | ||
- Disable native controls for better Firefox mobile compatibility (#19) | ||
- Add CSS for controlbar on mobile in examples (#19) | ||
- Improve check for `getUserMedia` browser support (#38 by @xlc) | ||
- Disabled video.js `loop` option permanently (#42) | ||
- Disabled native controls for better Firefox mobile compatibility (#19) | ||
- Added CSS for controlbar on mobile in examples (#19) | ||
- Improved check for `getUserMedia` browser support (#38 by @xlc) | ||
- Close `AudioContext` on stop in libvorbis.js plugin (#36, #37 by @xlc) | ||
@@ -55,3 +64,3 @@ - Required version for RecordRTC is 5.2.7 now | ||
- Ability to add audio and video constraints (#30 by @alsar) | ||
- Add filename and timestamp to recorded file object (#29) | ||
- Added filename and timestamp to recorded file object (#29) | ||
- Added upload examples for the jquery.fileupload and Fine Uploader libraries (#29) | ||
@@ -69,3 +78,3 @@ | ||
- Animated recording indicator (by @ikbensiep) | ||
- Added animated recording indicator (by @ikbensiep) | ||
- Fixed `destroy` | ||
@@ -77,3 +86,3 @@ | ||
- fix AMD/Node/browser global dependency for videojs | ||
- Fixed AMD/Node/browser global dependency for video.js | ||
@@ -91,3 +100,4 @@ | ||
- Added translations for Afrikaans, German, Spanish, Finnish, Frisian, French, Galician, Italian, Portugese, Russian and Swedish | ||
- Added translations for Afrikaans, German, Spanish, Finnish, Frisian, French, | ||
Galician, Italian, Portugese, Russian and Swedish | ||
@@ -98,4 +108,5 @@ | ||
- Bump minimum version for wavesurfer.js (1.0.44) and videojs-wavesurfer (0.9.9) for microphone updates (#12) | ||
- Fix stop/getDevice in audio-only mode (#12) | ||
- Bumped minimum version for wavesurfer.js (1.0.44) and videojs-wavesurfer | ||
(0.9.9) for microphone updates (#12) | ||
- Fixed stop/getDevice in audio-only mode (#12) | ||
@@ -106,3 +117,4 @@ | ||
- Make sure bower and npm only download video.js v4.x (#15) because v5.0 is not supported yet (#6) | ||
- Make sure bower and npm only download video.js v4.x (#15) because v5.0 is | ||
not supported yet (#6) | ||
- Add `stopDevice` for disabling the webcam/microphone device (#12) | ||
@@ -129,5 +141,7 @@ - Do something about new [mediastream deprecation warnings](https://developers.google.com/web/updates/2015/07/mediastream-deprecations) in Chrome 45 (#12) | ||
- Add support for animated GIF recordings (#2) | ||
- Both audio and video streams are now available when recording audio/video simultaneously in the Chrome browser (#4) | ||
- Audio playback now works when recording both audio and video in the Chrome browser (#4) | ||
- Added support for animated GIF recordings (#2) | ||
- Both audio and video streams are now available when recording audio/video | ||
simultaneously in the Chrome browser (#4) | ||
- Audio playback now works when recording both audio and video in the Chrome | ||
browser (#4) | ||
@@ -138,3 +152,3 @@ | ||
- Fix `debug` option | ||
- Fixed `debug` option | ||
@@ -145,3 +159,3 @@ | ||
- Remove duplicate `stopRecord` event trigger for image-only mode | ||
- Removed duplicate `stopRecord` event trigger for image-only mode | ||
@@ -152,3 +166,4 @@ | ||
- Switch to `MRecordRTC` to enable recording audio/video blobs (in Firefox >= 29 only at time of this release) | ||
- Switched to `MRecordRTC` to enable recording audio/video blobs (in | ||
Firefox >= 29 only at time of this release) | ||
- Hide fullscreen button in image-only example | ||
@@ -160,3 +175,3 @@ | ||
- Add support for images (#1) | ||
- Added support for images (#1) | ||
@@ -188,3 +203,3 @@ | ||
- Disable controls during waveform rendering | ||
- Add `deviceReady` event | ||
- Added `deviceReady` event | ||
- Documentation fixes | ||
@@ -191,0 +206,0 @@ |
{ | ||
"name": "videojs-record", | ||
"version": "1.4.0", | ||
"version": "1.5.0", | ||
"description": "A video.js plugin for recording audio/video/image files.", | ||
@@ -37,4 +37,4 @@ "main": "src/js/videojs.record.js", | ||
"video.js": ">=5.0.0", | ||
"wavesurfer.js": ">=1.0.57", | ||
"videojs-wavesurfer": ">=1.2.0", | ||
"wavesurfer.js": ">=1.2.0", | ||
"videojs-wavesurfer": ">=1.2.6", | ||
"recordrtc": ">=5.2.9" | ||
@@ -41,0 +41,0 @@ }, |
@@ -45,3 +45,3 @@ Video.js Record | ||
Optional dependencies when using [other audio libraries](#other-audio-libraries): | ||
Optional dependencies when using [other audio libraries](#other-audio-libraries) (note that most of these audio codecs are already available in most modern browsers): | ||
@@ -138,3 +138,3 @@ - [libvorbis.js](#libvorbisjs) - Converts PCM audio data to compressed Ogg Vorbis audio, resulting a smaller audio files with similar quality. | ||
```javascript | ||
var player = videojs("myVideo", | ||
var player = videojs('myVideo', | ||
{ | ||
@@ -166,3 +166,3 @@ // video.js options | ||
| `video` | boolean or object | `false` | Include video in the recorded clip. | | ||
| `animation` | boolean or object | `false` | Animated GIF. | | ||
| `animation` | boolean or object | `false` | Animated GIF without audio. | | ||
| `debug` | boolean | `false` | Enables console log messages during recording for debugging purposes. | | ||
@@ -172,9 +172,11 @@ | `maxLength` | float | `10` | Maximum length of the recorded clip. | | ||
| `frameHeight` | float | `240` | Height of the recorded video frames. Use [media constraints](#media-constraints) to change the camera height. | | ||
| `audioEngine` | string | `recordrtc` | Audio recording library to use. Legal values are `recordrtc`, `libvorbis.js`, `lamejs`, `opus-recorder` and `recorder.js`. | | ||
| `audioRecorderType` | string or function | `auto` | Audio recorder type to use. This allows you to specify an alternative recorder class, e.g. `StereoAudioRecorder`. Defaults to `auto` which let's recordrtc specify the best available recorder type. Currently this setting is only used with the 'recordrtc' `audioEngine`. | | ||
| `videoMimeType` | string | `'video/webm'` | The mime type for the video recorder. Use `video/mp4` (Firefox) or `video/webm;codecs=H264` (Chrome 52 and newer) for MP4. A full list of supported mime-types in the Chrome browser is listed [here](https://cs.chromium.org/chromium/src/third_party/WebKit/LayoutTests/fast/mediarecorder/MediaRecorder-isTypeSupported.html). | | ||
| `videoRecorderType` | string or function | `'auto'` | Video recorder type to use. This allows you to specify an alternative recorder class, e.g. `WhammyRecorder`. Defaults to `auto` which let's recordrtc specify the best available recorder type. | | ||
| `audioEngine` | string | `'recordrtc'` | Audio recording library/plugin to use. Legal values are `recordrtc`, `libvorbis.js`, `lamejs`, `opus-recorder` and `recorder.js`. | | ||
| `audioRecorderType` | string or function | `'auto'` | Audio recorder type to use. This allows you to specify an alternative recorder class, e.g. `StereoAudioRecorder`. Defaults to `auto` which let's recordrtc specify the best available recorder type. Currently this setting is only used with the `recordrtc` `audioEngine`. | | ||
| `audioMimeType` | string | `'auto'` | The mime type for the audio recorder. Defaults to `auto` which will pick the best option available in the browser (e.g. either `audio/wav`, `audio/ogg` or `audio/webm`). A full list of supported mime-types in the Chrome browser is listed [here](https://cs.chromium.org/chromium/src/third_party/WebKit/LayoutTests/fast/mediarecorder/MediaRecorder-isTypeSupported.html).| | ||
| `audioBufferSize` | float | `4096` | The size of the audio buffer (in sample-frames per second). Legal values: 0, 256, 512, 1024, 2048, 4096, 8192 and 16384. | | ||
| `audioSampleRate` | float | `44100` | The audio sample rate (in sample-frames per second) at which the `AudioContext` handles audio. Legal values are in the range of 22050 to 96000. | | ||
| `audioChannels` | float | `2` | Number of audio channels. Using a single channel results in a smaller filesize. | | ||
| `audioWorkerURL` | string | `''` | URL for the audio worker, for example: `/opus-recorder/oggopusEncoder.js`. Currently only used for opus-recorder and lamejs. | | ||
| `videoRecorderType` | string or function | `auto` | Video recorder type to use. This allows you to specify an alternative recorder class, e.g. `WhammyRecorder`. Defaults to `auto` which let's recordrtc specify the best available recorder type. | | ||
| `audioWorkerURL` | string | `''` | URL for the audio worker, for example: `/opus-recorder/oggopusEncoder.js`. Currently only used for opus-recorder and lamejs plugins. | | ||
| `animationFrameRate` | float | `200` | Frame rate for animated GIF (in frames per second). | | ||
@@ -236,3 +238,3 @@ | `animationQuality` | float | `10` | Sets quality of color quantization (conversion of images to the maximum 256 colors allowed by the GIF specification). Lower values (minimum = 1) produce better colors, but slow processing significantly. The default produces good color mapping at reasonable speeds. Values greater than 20 do not yield significant improvements in speed. | | ||
```javascript | ||
var player = videojs("myVideo", | ||
var player = videojs('myVideo', | ||
{ | ||
@@ -442,9 +444,4 @@ controls: true, | ||
[lots of plugins](https://github.com/videojs/video.js/wiki/Plugins) | ||
that can be used to enhance the player's functionality. Plugins actually | ||
tested with `videojs-record`: | ||
that can be used to enhance the player's functionality. | ||
- [videojs-persistvolume](https://github.com/theonion/videojs-persistvolume) - | ||
Saves user's volume setting using `localStorage`, but falls back to cookies | ||
if necessary. | ||
Development | ||
@@ -451,0 +448,0 @@ ----------- |
@@ -24,2 +24,5 @@ (function (root, factory) | ||
* Audio-only engine for the lamejs library. | ||
* | ||
* @class | ||
* @augments videojs.RecordBase | ||
*/ | ||
@@ -26,0 +29,0 @@ videojs.LamejsEngine = videojs.extend(videojs.RecordBase, |
@@ -24,2 +24,5 @@ (function (root, factory) | ||
* Audio-only engine for the libvorbis.js library. | ||
* | ||
* @class | ||
* @augments videojs.RecordBase | ||
*/ | ||
@@ -26,0 +29,0 @@ videojs.LibVorbisEngine = videojs.extend(videojs.RecordBase, |
@@ -24,2 +24,5 @@ (function (root, factory) | ||
* Audio-only engine for the opus-recorder library. | ||
* | ||
* @class | ||
* @augments videojs.RecordBase | ||
*/ | ||
@@ -26,0 +29,0 @@ videojs.OpusRecorderEngine = videojs.extend(videojs.RecordBase, |
@@ -24,2 +24,5 @@ (function (root, factory) | ||
* Audio-only engine for the recorder.js library. | ||
* | ||
* @class | ||
* @augments videojs.RecordBase | ||
*/ | ||
@@ -26,0 +29,0 @@ videojs.RecorderjsEngine = videojs.extend(videojs.RecordBase, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
1807160
5215
479
Updatedvideojs-wavesurfer@>=1.2.6
Updatedwavesurfer.js@>=1.2.0