-
-
Save justinyoo/487aeb50b6a78b4beab257a4eaf0939b to your computer and use it in GitHub Desktop.
Accessing to Camera on Mobile Devices from Vue.js + TypeScript + ASP.NET Core Applications
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export default class Hello extends Vue { | |
src: string = null; | |
width: string = "400"; | |
height: string = "300"; | |
autoplay: boolean = true; | |
photo: string = null; | |
screenshotFormat: string = "image/jpeg"; | |
private _refs: any = null; | |
private _video: HTMLVideoElement = null; | |
private _stream: MediaStream = null; | |
private _hasUserMedia: boolean = false; | |
private _ctx: CanvasRenderingContext2D = null; | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment