Skip to content

Commit

Permalink
added function and checked
Browse files Browse the repository at this point in the history
  • Loading branch information
sidntrivedi012 committed Aug 23, 2019
1 parent 56cc268 commit 6a765d5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/capture/capture.js
Original file line number Diff line number Diff line change
Expand Up @@ -906,3 +906,7 @@ $W = {
return excerptCanvasContext;
}
};
function getVideoEl() {
if ($W.loadingfromPi) return $W.piImage;
else return $("video")[0];
}

0 comments on commit 6a765d5

Please sign in to comment.