From 22d4a7f18c0886501f31ae793fd0883df80eabb2 Mon Sep 17 00:00:00 2001
From: Greg Fodor <gfodor@gmail.com>
Date: Fri, 26 Oct 2018 03:35:07 +0000
Subject: [PATCH] Turn on resizing

---
 src/gltf-component-mappings.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gltf-component-mappings.js b/src/gltf-component-mappings.js
index 16911817f..451a89e18 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 });
-- 
GitLab