corssorigin webgl loading fix

This commit is contained in:
Kai Boernert committed 2017-12-12 17:27:39 +01:00
1 parent 7748c9ca41
commit 3766ff5444
1 file changed
+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");
}