How can i load model on run time loading fine on static url

I’ve modified the PlayCanvas project and set up an example on JSFiddle: https://jsfiddle.net/2yzpdec9/5/

https://playcanvas.com/editor/scene/974566
The code is just a modified version of what was given here: Connect web App with Playcanvas iFrame