# AMP 360 Video vs Video Dome

**URL:** <https://forum.babylonjs.com/t/amp-360-video-vs-video-dome/14533>\
**Category:** Questions\
**Created:** [September 29, 2020, 6:09pm UTC](https://forum.babylonjs.com/t/amp-360-video-vs-video-dome/14533 "2020-09-29T18:09:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bozworth](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/bozworth/32/6484_2.png) [@bozworth](https://forum.babylonjs.com/u/bozworth)\
**Post date:** [September 29, 2020, 6:09pm UTC](https://forum.babylonjs.com/t/amp-360-video-vs-video-dome/14533/1 "2020-09-29T18:09:56Z")

</div>

Using Video dome on mobile crashes (Iphone11) every single time, I wanted to know whether AMP was the better option? or whether i was using Video dome incorrectly.

```
 this.videoDome = new BABYLON.VideoDome("videoDome", "./assets/videos/City-360-video-5mbps.mp4", {
            resolution: 32,
            clickToPlay: true,
            loop: false
          }, scene);
```

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [September 29, 2020, 6:45pm UTC](https://forum.babylonjs.com/t/amp-360-video-vs-video-dome/14533/2 "2020-09-29T18:45:59Z")

</div>

it should not crash  
adding @RaananW

---

<div class="post-metadata">

**Author:** ![RaananW](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/raananw/32/28955_2.png) [@RaananW](https://forum.babylonjs.com/u/RaananW)\
**Post date:** [September 29, 2020, 6:48pm UTC](https://forum.babylonjs.com/t/amp-360-video-vs-video-dome/14533/3 "2020-09-29T18:48:50Z")

</div>

should not crash, of course 🙂

Want to send me a playground? maybe the video as well? what is the resolution of the video?

---

<div class="post-metadata">

**Author:** ![bozworth](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/bozworth/32/6484_2.png) [@bozworth](https://forum.babylonjs.com/u/bozworth)\
**Post date:** [September 29, 2020, 6:58pm UTC](https://forum.babylonjs.com/t/amp-360-video-vs-video-dome/14533/4 "2020-09-29T18:58:53Z")

</div>

You are right it should not crash and it was partially our fault as we had set the resolution to 256 in the build but setting it to 32 works, we also had all of the 3D scene still active so setting these to disabled seemed to help a lot.

Im wondering a way i can copy all the important code over without breaking nda. but essentially:

-3D Scene with about 250K faces, 100 Materials and 150 textures  
-User clicks on Headset Prop and then the Video Dome code starts up.  
-5-6 Video textures autoplaying on various screens.

If i gave it a high resolution, and/or left the scene turned on along with any videos also running, and THEN played a Video Dome, i would get a ‘AWW SNAP!’ message on chrome as in out of memory.
