Skip to main content
Sketchfab Viewer API example NOTE: Firefox does not support certain tasks for iframes with style="display:none", like adding event listeners. A possible workaround is to add a class that changes the visibility. Here is an example:Sketchfab Viewer API example

2e voorbeeld.

// oEmbed API endoint example// Request // https://sketchfab.com/oembed?url=https://sketchfab.com/models/dGUrytaktlDeNudCEGKk31oTJY// Response { provider_url: "https://sketchfab.com", thumbnail_url: "https://d35krx4ujqgbcr.cloudfront.net/urls/dGUrytaktlDeNudCEGKk31oTJY/thumbnails/0d51317e30f84af69ff37091f50bf41c/640.jpeg", thumbnail_width: 640, thumbnail_height: 360, height: 360, width: 640, author_name: "Klaas Nienhuis", title: "Maison d'artiste", html: "

Maison d'artiste by Klaas Nienhuis on Sketchfab

", version: "1.0", author_url: "https://sketchfab.com/klaasnienhuis", provider_name: "Sketchfab", type: "rich" }
// oEmbed API endoint collection example // Request // https://sketchfab.com/oembed?url=https://sketchfab.com/james/collections/fire-hydrants // Response { "provider_url": "https://sketchfab.com", "thumbnail_width": 640, "height": 360, "thumbnail_url": "https://d35krx4ujqgbcr.cloudfront.net/urls/396eff4f34594123a01607443b280b33/dist/thumbnails/5227c547bbbb463da98518a9f4470c70/640.jpeg", "author_name": "James", "thumbnail_height": 429, "title": "Fire Hydrants", "html": "\n\n

\n Fire Hydrants\n by James\n on Sketchfab\n

", "width": 640, "version": "1.0", "author_url": "https://sketchfab.com/james", "provider_name": "Sketchfab", "type": "rich" }