Oembed Sketchfab model

When I try to oEmbed an URL in Item>Media I get the error “Invalid OEmbed URL”. The URL used: https://sketchfab.com/oembed?url=https://sketchfab.com/models/d2db632ea89745f48ddd6f20eabcdbdc
gives a response and I think it is constructed correctly according to the guidelines from Sketchfab. What am I doing wrong?



There’s a configured list of allowed OEmbed URLs, and you get this message if the service you’re using isn’t on that list. You can add allowed URLs to the list in config/local.config.php, by adding:

    'oembed' => [
        'whitelist' => [

The other aspect is: the OEmbed option expects you to give the URL to a regular HTML page that links to the OEmbed info. In this case, it would want you to give https://sketchfab.com/3d-models/kristushuvud-fran-gothem-kyrka-gfdepc905-d2db632ea89745f48ddd6f20eabcdbdc as the URL.

Thanks! Works great now :slight_smile:

This topic was automatically closed 250 days after the last reply. New replies are no longer allowed.