Video player in project header bug (firefox):
Unable to play video in in project header in firefox. Reason: Firefox is missing ResizeObserver, so as a workaround videoJs inserts an iframe bellow the video and listens to resize events on that. This iframe lands in front of the video when we use the class ".embed-responsive", and therefore we can not start the wideo. Solution: I could not see any difference in how the page was rendered with/without this class so I removed it.
This commit is contained in:
parent
c8e62e3610
commit
ceef04455c
@ -4,7 +4,7 @@ include ../mixins/components
|
|||||||
| {% block body %}
|
| {% block body %}
|
||||||
section.node-preview
|
section.node-preview
|
||||||
| {% if header_video_file %}
|
| {% if header_video_file %}
|
||||||
.embed-responsive.embed-responsive-16by9
|
.embed-responsive-16by9
|
||||||
video#videoplayer.video-js.vjs-fluid.embed-responsive-item(
|
video#videoplayer.video-js.vjs-fluid.embed-responsive-item(
|
||||||
controls,
|
controls,
|
||||||
data-setup="{}",
|
data-setup="{}",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user