This file contains hidden or 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
<html> | |
<head> | |
<title>custom video source from canvas element</title> | |
<script src="https://unpkg.com/@daily-co/daily-js"></script> | |
</head> | |
<body onload="main()"> | |
<div id="local-controls" style="width: 50%; float: left; visibility: hidden"> | |
<button onclick="switchToCanvas()" />switch to canvas</button> | |
<button onclick="switchToCamera()" />switch to camera</button> | |
<hr /> |
This file contains hidden or 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
<html> | |
<head> | |
<title>test high bitrate simulcast</title> | |
<script src="https://unpkg.com/@daily-co/daily-js"></script> | |
</head> | |
<body onload="main()"> | |
<div id="videos"></div> | |
<script> | |
async function main() { |
This file contains hidden or 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
<html> | |
<head> | |
<title>test device switching</title> | |
<script src="https://unpkg.com/@daily-co/daily-js"></script> | |
</head> | |
<body onload="main()"> | |
<div id="ui" style="width: 50%; float: left"> | |
<select id="devices" onchange="changeDevice()"></select> | |
</div> |
This file contains hidden or 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
<html> | |
<head> | |
<title>infinite loop safari leave bug repro attempt</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1" /> | |
<script src="https://unpkg.com/@daily-co/daily-js"></script> | |
</head> | |
<body> | |
<div id="buttons" style="width: 50%; float: left;"> | |
room url: | |
<input size="40" type="text" id="roomUrl" |
This file contains hidden or 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
<html> | |
<head> | |
<title>custom camera track</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1" /> | |
<script src="https://unpkg.com/@daily-co/daily-js"></script> | |
</head> | |
<body> | |
<div id="buttons" style="width: 50%; float: left;"> | |
room url: | |
<input size="40" type="text" id="roomUrl" |
This file contains hidden or 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
// accumulated "wisdom" to handle as many play()-related issues as possible, going back | |
// to browser versions of the distant past. | |
// | |
// currently we use separate <video> and <audio> elements as part of ensuring that play() | |
// works as expected for both video and sound. new browser versions *definitely do* | |
// change this behavior, though, so the code below will change over time, too. | |
// we set the elements up like this in our render() function: |
This file contains hidden or 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
<html> | |
<head> | |
<title>record local audio</title> | |
<script src="./daily-js-pluot-core/dist/daily-iframe.js"></script> | |
</head> | |
<body onload="join()"> | |
<div id="buttons" style="width: 50%; float: left"> | |
</div> |
This file contains hidden or 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
<html> | |
<head> | |
<title>css test</title> | |
<script src="https://unpkg.com/@daily-co/daily-js"></script> | |
</head> | |
<body onload="main()"> | |
<div style="width: 100%; height: 100%; | |
position: absolute; z-index: 50; | |
background-color: blue"> |
This file contains hidden or 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
<html> | |
<head> | |
<title>configurable sound test</title> | |
<script src="https://unpkg.com/@daily-co/daily-js"></script> | |
<style> | |
div { | |
margin-bottom: 1em; | |
} | |
#join-sound-off-div { | |
display: none; |