Skip to content

Commit

Permalink
Merge pull request #4164 from IgorA100/patch-732743
Browse files Browse the repository at this point in the history
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.js
  • Loading branch information
connortechnology authored Oct 2, 2024
2 parents bc1a7af + 95874af commit f56d001
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/skins/classic/js/skin.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f56d001

Please sign in to comment.