Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

how to take a input video

<input type="file" accept="video/*" capture="camera" id="recorder">
  <video id="player" controls> </video>
      <script>  
            var recorder = document.getElementById('recorder'); 
            var player = document.getElementById('player');  
                  recorder.addEventListener('change', function(e) {    
                    var file = e.target.files[0];   
        
                    player.src = URL.createObjectURL(file);  });
       </script>
Comment

PREVIOUS NEXT
Code Example
Javascript :: javascript get local storage 
Javascript :: await fetch in react 
Javascript :: jquery get location of user 
Javascript :: regex pattern to validate email 
Javascript :: finding in mongoose using a name 
Javascript :: get current directory vbscript 
Javascript :: p5.js create button 
Javascript :: javascript substring after character 
Javascript :: lodash find object in array 
Javascript :: type of variable js 
Javascript :: foreach object js 
Javascript :: how to count vowels in a string javascript 
Javascript :: javascript compare object arrays keep only entries not in both 
Javascript :: js replace characters in a string 
Javascript :: discord js how to mention bot 
Javascript :: find all images without alternate text 
Javascript :: how to get back image and front text in react native 
Javascript :: how to send emoji as ID discord.js 
Javascript :: javascript number pyramid 
Javascript :: last element in array javascript 
Javascript :: hide html element with javascript 
Javascript :: how to set state when change viewport react 
Javascript :: how to get a channelid discord.js 
Javascript :: jquery get multiple input values by name 
Javascript :: Get day first 3 letters name js 
Javascript :: js find in array and remove 
Javascript :: get checked radio button value jquery by name 
Javascript :: character limit regex 
Javascript :: deep copy object/array 
Javascript :: how to get custom attribute value in react 
ADD CONTENT
Topic
Content
Source link
Name
1+1 =