Adding a scene to configure the webcam
This commit is contained in:
parent
617ff45bfa
commit
3de37bafed
10 changed files with 537 additions and 5 deletions
4
front/dist/index.html
vendored
4
front/dist/index.html
vendored
|
@ -59,6 +59,10 @@
|
|||
</div>-->
|
||||
</div>
|
||||
</div>
|
||||
<div id="webRtcSetup" class="webrtcsetup">
|
||||
<img id="webRtcSetupNoVideo" class="background-img" src="resources/logos/cinema-close.svg">
|
||||
<video id="myCamVideoSetup" autoplay muted></video>
|
||||
</div>
|
||||
<audio id="audio-webrtc-in">
|
||||
<source src="/resources/objects/webrtc-in.mp3" type="audio/mp3">
|
||||
</audio>
|
||||
|
|
BIN
front/dist/resources/objects/arrow_right.png
vendored
Normal file
BIN
front/dist/resources/objects/arrow_right.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 224 B |
BIN
front/dist/resources/objects/arrow_up.png
vendored
Normal file
BIN
front/dist/resources/objects/arrow_up.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 149 B |
26
front/dist/resources/style/style.css
vendored
26
front/dist/resources/style/style.css
vendored
|
@ -207,3 +207,29 @@ video{
|
|||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.webrtcsetup{
|
||||
display: none;
|
||||
position: absolute;
|
||||
top: 230px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
height: 50%;
|
||||
width: 50%;
|
||||
}
|
||||
.webrtcsetup .background-img {
|
||||
position: relative;
|
||||
display: block;
|
||||
width: 40%;
|
||||
height: 60%;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
#myCamVideoSetup {
|
||||
width: 100%;
|
||||
}
|
||||
.webrtcsetup.active{
|
||||
display: block;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue