# Webviewer a bit slow to load

**URL:** https://community.thunkable.com/t/webviewer-a-bit-slow-to-load/1166962
**Category:** Questions about Thunkable X
**Created:** [March 15, 2021, 12:05am UTC](https://community.thunkable.com/t/webviewer-a-bit-slow-to-load/1166962 "2021-03-15T00:05:17Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![carlinmclellan](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/carlinmclellan/32/77831_2.png) [@carlinmclellan](https://community.thunkable.com/u/carlinmclellan)
#### Post date: [March 15, 2021, 12:05am UTC](https://community.thunkable.com/t/webviewer-a-bit-slow-to-load/1166962/1 "2021-03-15T00:05:17Z")

</div>

Hey Thunkers,

I’ve used Webviewer as a way to play MP3 files on my app. I’ve noticed it’s a little bit slow – takes about 2 seconds for the MP3s to load on screen. I have the webviewer connected to my personal website which is built using Wix.

I’m wondering if there is any way to speed up the load time?

Cheers form Australia  
Carlin

---

<div class="post-metadata">

### Author: ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)
#### Post date: [March 15, 2021, 1:47am UTC](https://community.thunkable.com/t/webviewer-a-bit-slow-to-load/1166962/2 "2021-03-15T01:47:38Z")

</div>

I’ve been wondering this, too.

> [@Webviewer slow to load sites](https://community.thunkable.com/t/webviewer-slow-to-load-sites/1132748):
>
> I published an app with a webviewer that loads a few different sites each by clicking on a button. The loading time is noticeably slow. Whereas it takes 0-2 seconds to load each site on my iPhone 11 in Chrome, it can take 1-10 seconds to load the same site(s) in a webviewer in my published app on the same device. Is that just the way the webviewer works? Any tips for speeding loading up?

---

<div class="post-metadata">

### Author: ![carlinmclellan](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/carlinmclellan/32/77831_2.png) [@carlinmclellan](https://community.thunkable.com/u/carlinmclellan)
#### Post date: [March 19, 2021, 11:59pm UTC](https://community.thunkable.com/t/webviewer-a-bit-slow-to-load/1166962/3 "2021-03-19T23:59:08Z")

</div>

Please let me know if you find a solution to this.

---

<div class="post-metadata">

### Author: ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)
#### Post date: [March 20, 2021, 12:05am UTC](https://community.thunkable.com/t/webviewer-a-bit-slow-to-load/1166962/4 "2021-03-20T00:05:19Z")

</div>

You could dressup the wait time with a loading time so it’s not so weird.

The webviewer doesn’t load until it’s visible. Is this related to what you’re experiencing?

[This](https://github.com/react-native-webview/react-native-webview/issues/1670) thread on [github](https://GitHub.com) indicates it’s an issue with react native.

One solution could be, if you’re not needing the content immediately, to position the webviewer using absolute positioning and placing it offscreen at a left offset of -1000 for example. Then you could bring it back into view when needed , or not at all for an mp3 maybe?

---

<div class="post-metadata">

### Author: ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)
#### Post date: [March 21, 2021, 4:53pm UTC](https://community.thunkable.com/t/webviewer-a-bit-slow-to-load/1166962/5 "2021-03-21T16:53:04Z")

</div>

Interesting idea. I’m curious if there’s any way to know when the web page has completed loading. Otherwise, I might just have to keep it hidden/off-screen for 5 seconds or so and assume that’s long enough for most web pages to load in the web viewer.

---

<div class="post-metadata">

### Author: ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)
#### Post date: [March 21, 2021, 5:11pm UTC](https://community.thunkable.com/t/webviewer-a-bit-slow-to-load/1166962/6 "2021-03-21T17:11:51Z")

</div>

If it is your own web page then you can use the **onload** event to check when the page has loaded. Using the web-viewer extension then you can programmatically reposition the web viewer once you receive the “load complete” message from the **onload** event in the page.

---

<div class="post-metadata">

### Author: ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)
#### Post date: [March 21, 2021, 5:34pm UTC](https://community.thunkable.com/t/webviewer-a-bit-slow-to-load/1166962/7 "2021-03-21T17:34:21Z")

</div>

Yes! The code I used for a webwrapped app was so simple. Something like this. This is an app made on bubble; wrapped with Thunkable.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/3/0/304d1fce0800b0fbb1a0699a9f23d094c7dd5b81.jpeg)

When the app loads I send a payload with the message reveal.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/a/3/a3d15185381b9efeeefe7e3aebed3d0d95ac4735.jpeg)

---

<div class="post-metadata">

### Author: ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)
#### Post date: [March 21, 2021, 7:00pm UTC](https://community.thunkable.com/t/webviewer-a-bit-slow-to-load/1166962/8 "2021-03-21T19:00:02Z")

</div>

I appreciate all the suggestions! I’m not using my own web server. These are public websites that I’m displaying in a web viewer.

---

<div class="post-metadata">

### Author: ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)
#### Post date: [November 8, 2024, 1:28pm UTC](https://community.thunkable.com/t/webviewer-a-bit-slow-to-load/1166962/9 "2024-11-08T13:28:50Z")

</div>


