From 7b3d863ec052e122b2f425420a77ab07d3dd88fc Mon Sep 17 00:00:00 2001 From: Splines Date: Tue, 27 Feb 2024 00:01:24 +0100 Subject: [PATCH] Fix video size in feedback player --- app/assets/javascripts/thyme/thyme_feedback.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/thyme/thyme_feedback.js b/app/assets/javascripts/thyme/thyme_feedback.js index c4848f69a..1749b3be0 100644 --- a/app/assets/javascripts/thyme/thyme_feedback.js +++ b/app/assets/javascripts/thyme/thyme_feedback.js @@ -98,10 +98,12 @@ $(document).on("turbolinks:load", function () { // resizes the thyme container to the window dimensions function resizeContainer() { - Resizer.resizeContainer(thymeContainer, 1, 0); + Resizer.resizeContainer(thymeContainer, 1 / 0.82, 0); annotationManager.updateMarkers(); } window.onresize = resizeContainer; video.onloadedmetadata = resizeContainer; + + $("#video").width("82%"); });