-
-
Save justinyoo/ccb5dfa4b0968bcefef82797b85fc828 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
<template> | |
<div class="hello"> | |
<video v-bind:src="src" v-bind:width="width" v-bind:height="height" v-bind:autoplay="autoplay" ref="video"></video> | |
<hr/> | |
<img v-bind:src="photo" alt="" v-bind:width="width" v-bind:height="height"/> | |
<hr/> | |
<button type="button" v-on:click="takePhoto">Take Photo</button> | |
<hr/> | |
... | |
</template> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment