diff --git a/src/gltf-component-mappings.js b/src/gltf-component-mappings.js index 16911817f48960db4f132501ca5c9798da7c069d..451a89e187b84bd2bd357def1df50981675e60c8 100644 --- a/src/gltf-component-mappings.js +++ b/src/gltf-component-mappings.js @@ -85,7 +85,7 @@ AFRAME.GLTFModelPlus.registerComponent("media", "media", (el, componentName, com }); } - el.setAttribute("media-loader", { resolve: true, src: componentData.src }); + el.setAttribute("media-loader", { src: componentData.src, resize: true, resolve: true }); if (componentData.pageIndex) { el.setAttribute("media-pager", { index: componentData.pageIndex });