I have an angular app wich reproduces the video record of the session. Its
working fine but i cannot find how to fit it on a modal. I used the
guacamole-playback-example project as model. There“s a scale method on the
Guacamole.Display object which I think is the way to go.
My html is something like:
<div class="modal-body">
<div id="player">
<div id="display">
</div>
</div>
</div>
And on my component.ts class I do:
// ..some code
this.display = $('#display');
this.recordingDisplay.onresize = (width, height) => {
this.recordingDisplay.scale(this.display.outerWidth() /
width);
}
But it doesnt fit correctly, as you can see on the image link
<https://ibb.co/gkNgnR> .
What im missing here?
Thanks!
--
Sent from:
http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/