Merge pull request #4164 from IgorA100/patch-732743
Fix: Scaling of control buttons (Zoom, Edit, etc.) located on the Stream depending on the width of the Stream on Event page witch use video.jspull/4165/head
commit
f56d001839
|
@ -1284,7 +1284,7 @@ var doubleTouch = function(e) {
|
|||
};
|
||||
|
||||
function setButtonSizeOnStream() {
|
||||
const elStream = document.querySelectorAll('[id ^= "liveStream"], [id ^= "evtStream"]');
|
||||
const elStream = document.querySelectorAll('[id ^= "liveStream"], [id ^= "evtStream"], [id = "videoobj"]');
|
||||
Array.prototype.forEach.call(elStream, (el) => {
|
||||
//It is necessary to calculate the size for each Stream, because on the Montage page they can be of different sizes.
|
||||
const w = el.offsetWidth;
|
||||
|
|
Loading…
Reference in New Issue