Skip to content

Commit

Permalink
Remove VIDEO and AUDIO from reference
Browse files Browse the repository at this point in the history
  • Loading branch information
Qianqianye committed Sep 6, 2022
1 parent 4a25eab commit eda2e43
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions src/dom/dom.js
Original file line number Diff line number Diff line change
Expand Up @@ -1318,17 +1318,8 @@ p5.prototype.createAudio = function(src, callback) {

/** CAMERA STUFF **/

/**
* @property {String} VIDEO
* @final
* @category Constants
*/
p5.prototype.VIDEO = 'video';
/**
* @property {String} AUDIO
* @final
* @category Constants
*/

p5.prototype.AUDIO = 'audio';

// from: https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia
Expand Down

0 comments on commit eda2e43

Please sign in to comment.