# Setting html in webview url results into blank white screen

**URL:** <https://community.thunkable.com/t/setting-html-in-webview-url-results-into-blank-white-screen/721832>\
**Category:** Questions about Thunkable X\
**Tags:** web-viewer\
**Created:** [August 5, 2020, 12:21pm UTC](https://community.thunkable.com/t/setting-html-in-webview-url-results-into-blank-white-screen/721832 "2020-08-05T12:21:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![adminyi7yav](https://avatars.discourse-cdn.com/v4/letter/a/9e8a1a/32.png) [@adminyi7yav](https://community.thunkable.com/u/adminyi7yav)\
**Post date:** [August 5, 2020, 12:21pm UTC](https://community.thunkable.com/t/setting-html-in-webview-url-results-into-blank-white-screen/721832/1 "2020-08-05T12:21:53Z")

</div>

I am setting iframe and script in webview using "data:text/html, ". It works fine for android, but in ios it results into a white screen.

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [August 5, 2020, 12:40pm UTC](https://community.thunkable.com/t/setting-html-in-webview-url-results-into-blank-white-screen/721832/2 "2020-08-05T12:40:05Z")

</div>

As far as I remember, the Data URI doesn’t work in apps installed on iOS. For this reason, I recommend another method - using WebViewer.postMessage. An example of data exchange can be found on scrExchange in the project [https://x.thunkable.com/projects/5d70f93f8a62b4079eedaff2/project/properties/designer/](https://x.thunkable.com/projects/5d70f93f8a62b4079eedaff2/project/properties/designer/)

---

<div class="post-metadata">

**Author:** ![kizzy](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/kizzy/32/76421_2.png) [@kizzy](https://community.thunkable.com/u/kizzy)\
**Post date:** [August 5, 2020, 12:59pm UTC](https://community.thunkable.com/t/setting-html-in-webview-url-results-into-blank-white-screen/721832/3 "2020-08-05T12:59:53Z")

</div>

remember ios is not a fan of webview

---

<div class="post-metadata">

**Author:** ![adminyi7yav](https://avatars.discourse-cdn.com/v4/letter/a/9e8a1a/32.png) [@adminyi7yav](https://community.thunkable.com/u/adminyi7yav)\
**Post date:** [August 6, 2020, 8:28am UTC](https://community.thunkable.com/t/setting-html-in-webview-url-results-into-blank-white-screen/721832/4 "2020-08-06T08:28:51Z")

</div>

But with such implementation of post msg, I can not get the time of the video till which the user watched it. Is there anyother way to do that?

---

<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, 12:26pm UTC](https://community.thunkable.com/t/setting-html-in-webview-url-results-into-blank-white-screen/721832/5 "2024-11-08T12:26:49Z")

</div>


