mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-20 19:20:04 +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;
|
this.autoplay = autoplay;
|
||||||
setElement(uiBinder.createAndBindUi(this));
|
setElement(uiBinder.createAndBindUi(this));
|
||||||
videoElement.setId(elementId = "videojs_" + Document.get().createUniqueId());
|
videoElement.setId(elementId = "videojs_" + Document.get().createUniqueId());
|
||||||
|
videoElement.setAttribute("crossorigin", "anonymous");
|
||||||
if (fullHeightWidth) {
|
if (fullHeightWidth) {
|
||||||
videoElement.addClassName("video-js-fullscreen");
|
videoElement.addClassName("video-js-fullscreen");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user