JSFiddle - React, Tailwind, and code Playground
HTML
<html>
<head>
<title>iframe test</title>
</head>
<body>
<button onclick="(function() {
var app = document.getElementById('app');
app.contentWindow.postMessage('https://network.daruldev.com/models/eyeball.obj', '*');
})()">Load Model</button>
<iframe src="https://playcanv.as/e/p/LKkY3LrX/" width="500px" height="300px" id='app'></iframe>
</body>
</html>