File: examples/simple_selectmenu.html

Recommend this page to a friend!
  Classes of Andras Toth  >  Expert JS Camera Capture  >  examples/simple_selectmenu.html  >  Download  
File: examples/simple_selectmenu.html
Role: Example script
Content type: text/plain
Description: Documentation
Class: Expert JS Camera Capture
Capture video and audio and save to files
Author: By
Last change: Update of examples/simple_selectmenu.html
Date: 2 months ago
Size: 1,191 bytes


Class file image Download
<!DOCTYPE html>
        <meta charset="UTF-8">
        <h1 style="text-align:center;">Initialize with default options and build select menu</h1>
        <select id="video"></select>
        <select id="audio"></select>
        <button type="button" onclick="play()">play</button>
        <button type="button" onclick="pause()">pause</button>
        <button type="button" onclick="stop()">stop</button>
        <script type="text/javascript" src="../js/expertcam.js"></script>
        <script type="text/javascript">
        //path correction
        var args = {
        		noSignal: '../media/no_signal.png'
            var cam = new ExpertCamJS('video').init(args).buildSelectMenu('#video', '#audio');
            function play(){
            function pause(){
            function stop(){