Board Thread:JS Development/@comment-31316491-20190516204843

Hello, I run a small page for a game design project I'm working on.

Since I've had my blog up and running, I've always wanted to show 3D models I'm designing for my game on their respective pages. I thought this was impossible due to wikia not allowing iframes. However, I found other wikias which were using iframe embeds for youtube videos.

This works, and I have a working example of an iframe embed here which is being used for youtube videos: https://precursor.fandom.com/wiki/Template:Youtube

What I wanted to do was exactly the same thing, but for Artstation 3D models, instead of youtube videos, so I made a page here: https://precursor.fandom.com/wiki/Template:Frame

This page doesn't work as intended, and the 3D model is not embedded. This is what I'd like to request help with. The Javascript has multiple parts:

1. https://precursor.fandom.com/wiki/MediaWiki:Common.js/frame.js 2. https://precursor.fandom.com/wiki/MediaWiki:Common.js

If anyone could potentially look at my code, and tell me where I'm going wrong, I would greatly appreciate it, however, I am aware that this might not be the appropriate channel for this. I thought I would ask anyway.

Thanks regardless, JohnnyMccrum 