Skip to content

Commit

Permalink
Update welcome.html
Browse files Browse the repository at this point in the history
  • Loading branch information
SkillfulElectro authored Jun 11, 2024
1 parent fc8f24c commit a9c6bfc
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions welcome.html
Original file line number Diff line number Diff line change
Expand Up @@ -106,13 +106,31 @@ <h4 style="text-align: center;">MUTEXIS_KIT.js:</h4>
if you want to use webview tag , <a href="https://www.electronjs.org/docs/latest/api/webview-tag">Visit</a>
</p>
</div>
<!-- TESTS
<!-- TESTS
<h1>Access to Camera and Microphone</h1>
<video autoplay></video>
<script>
if (window.Backend.getMicrophoneAccess() && window.Backend.getCameraAccess()){
navigator.mediaDevices.getUserMedia({ video: true, audio: true })
.then(function(stream) {
var video = document.querySelector('video');
video.srcObject = stream;
video.onloadedmetadata = function(e) {
video.play();
};
})
.catch(function(err) {
console.log(err.name + ": " + err.message);
});
}
</script>
<button id="btn1" type="button">full_screen</button>
<script>
const fss = document.getElementById('btn1')
fss.addEventListener('click', () => {
window.Backend.win_size(1000 , 1000 , "false")
window.Backend.getMicrophoneAccess()
})
</script>
-->
Expand Down

0 comments on commit a9c6bfc

Please sign in to comment.