Do not remove crossOrigin property.

pull/90/head
Mikhail Golenkov 2020-07-16 12:24:21 +10:00
parent 196888bf3e
commit 48f06beee7
1 changed files with 1 additions and 1 deletions

View File

@ -733,7 +733,7 @@ H5P.fullScreen = function ($element, instance, exitCallback, body, forceSemiFull
}
else {
// In case this element has been used before.
element.removeAttribute('crossorigin');
element.crossOrigin = "anonymous";
}
element.src = H5P.getPath(path, contentId);