We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89b3ffe commit 9cbbf49Copy full SHA for 9cbbf49
fpv/js/car.js
@@ -37,14 +37,14 @@ function onConnect() {
37
elConnectBtn.style.right = "10px";
38
elConnectBtn.innerHTML = "Connected";
39
qs("#cam-controllers-wrapper").style.display = "block";
40
+ document.documentElement.webkitRequestFullscreen();
41
setTimeout(function() {
42
startStream();
43
}, 3000);
44
}
45
46
47
elConnectBtn.addEventListener("click", function() {
- document.documentElement.webkitRequestFullscreen();
48
connect(function(){
49
connected = true;
50
onConnect();
0 commit comments