Skip to content

Commit 759ec6c

Browse files
authored
Merge pull request #34 from ant-media/fix-ptz-buttons
Fix PTZ buttons src address
2 parents 3ddeda2 + 560223e commit 759ec6c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/web_player.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -1452,11 +1452,11 @@ export class WebPlayer {
14521452
<span id="zoom-in-button" style="color: #bc1b22; font-size: 50px; font-weight: bold; cursor: pointer; margin-left: 5px; user-select: none;">+</span>
14531453
</div>
14541454
<div id="direction-arrow-container" class="direction-arrow-container">
1455-
<img id="up-button" style="position: absolute; width: 50px; cursor: pointer; height: 50px; left: 50%; transform: translateX(-50%);" src="`+ UpArrow +`"/>
1455+
<img id="up-button" style="position: absolute; width: 50px; cursor: pointer; height: 50px; left: 50%; transform: translateX(-50%);" src="`+ UpArrow.src +`"/>
14561456
1457-
<img id="left-button" style="position: absolute; left: 0px; width: 50px; height: 50px; cursor: pointer; top: 50%; transform: translateY(-50%) rotate(-90deg);" src="`+UpArrow+`"/>
1458-
<img id="right-button" style="position: absolute; right:0px; top: 50%; width: 50px; cursor: pointer; height: 50px; transform: translateY(-50%) rotate(90deg);" src="`+UpArrow+`"/>
1459-
<img id="down-button" style="position: absolute; bottom:0px;left: 50%; width: 50px; cursor: pointer; height: 50px; transform: translateX(-50%) rotate(180deg);" src="`+UpArrow+`"/>
1457+
<img id="left-button" style="position: absolute; left: 0px; width: 50px; height: 50px; cursor: pointer; top: 50%; transform: translateY(-50%) rotate(-90deg);" src="`+UpArrow.src+`"/>
1458+
<img id="right-button" style="position: absolute; right:0px; top: 50%; width: 50px; cursor: pointer; height: 50px; transform: translateY(-50%) rotate(90deg);" src="`+UpArrow.src+`"/>
1459+
<img id="down-button" style="position: absolute; bottom:0px;left: 50%; width: 50px; cursor: pointer; height: 50px; transform: translateX(-50%) rotate(180deg);" src="`+UpArrow.src+`"/>
14601460
14611461
</div>
14621462

0 commit comments

Comments
 (0)