mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-19 10:39:59 +00:00
corssorigin webgl loading fix
This commit is contained in:
1 parent
7748c9ca41
commit
3766ff5444
1 file changed
+1
+1
@@ -48,6 +48,7 @@ public class VideoJSPlayer extends Widget implements RequiresResize {
|
||||
this.autoplay = autoplay;
|
||||
setElement(uiBinder.createAndBindUi(this));
|
||||
videoElement.setId(elementId = "videojs_" + Document.get().createUniqueId());
|
||||
videoElement.setAttribute("crossorigin", "anonymous");
|
||||
if (fullHeightWidth) {
|
||||
videoElement.addClassName("video-js-fullscreen");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user