Fandom Developers Wiki
Advertisement

SketchfabIntegrator adds integration of Sketchfab models.

Installation[]

Usage[]

Create an element with sketchfab class. Use data-url, data-height and data-width attributes to set corresponding widget parameters. The data-url value might be full URL of the model (https://sketchfab.com/3d-models/model-id), or just model id.

Example[]

One can use following template:

<div class="sketchfab" data-url="{{{url|}}}" data-width="{{{width|}}}" data-height="{{{height|}}}">[{{{url|}}} {{{url|}}}] will be here.</div>

Demo[]

This script might not work if they are on FandomMobile or disabled JavaScript on their browser.
Advertisement