Skip to content

Commit 0491ea8

Browse files
NyanHelsingcslzchen
authored andcommitted
Fix the scrollbar flickering issue for video
- Removes any space between the edges of the iframes interior and the video
1 parent 5838fd6 commit 0491ea8

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

mfr/extensions/video/templates/viewer.mako

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
<style>
2+
## Setting margin and padding to 0 for body fixes the scrollbar flickering issue
3+
body {
4+
margin: 0;
5+
padding: 0;
6+
}
7+
</style>
8+
19
<video controls height="100%">
210
<source src="${url}">
311
Your browser does not support the video tag.
@@ -7,4 +15,4 @@
715
<script src="/static/js/mfr.child.js"></script>
816
<script>
917
window.pymChild.sendMessage('embed', 'embed-responsive-16by9');
10-
</script>
18+
</script>

0 commit comments

Comments
 (0)