[wp-trac] [WordPress Trac] #65190: Add komoot to the oEmbed provider allowlist
WordPress Trac
noreply at wordpress.org
Thu May 7 15:01:00 UTC 2026
#65190: Add komoot to the oEmbed provider allowlist
---------------------------+-----------------------------
Reporter: federicofonta | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Embeds | Version:
Severity: normal | Keywords:
Focuses: |
---------------------------+-----------------------------
komoot (https://www.komoot.com) is a route-planning and outdoor navigation
platform with public tour, smarttour, collection, and guide pages.
komoot now provides an oEmbed-compatible JSON endpoint:
https://www.komoot.com/oembed
Supported URL examples:
- https://www.komoot.com/tour/2766645113
- https://www.komoot.com/smarttour/e1239517945
- https://www.komoot.de/collection/2050920
- https://www.komoot.com/guide/1006/dolomites-mountain-passes
The endpoint follows the oEmbed spec:
- `format=json`
- `type=rich`
- returns `html` containing an iframe, `width`, `height`, `provider_name`,
`provider_url`, `cache_age`
- returns `thumbnail_url` for tour and smarttour embeds
- sends `Access-Control-Allow-Origin: *`
- sends cacheable responses via `Cache-Control: public, max-age=3600,
s-maxage=86400`
Example request:
https://www.komoot.com/oembed?url=https%3A%2F%2Fwww.komoot.com%2Ftour%2F2766645113&format=json
Example response includes:
{{{
<iframe
src="https://www.komoot.com/tour/2766645113/embed?layout=classic&embed_source=oembed&profile=1"
width="640" height="700" frameborder="0" scrolling="no" allowfullscreen
referrerpolicy="strict-origin-when-cross-origin"></iframe>
}}}
Discovery tags are also present on canonical embeddable pages:
{{{
<link rel="alternate" type="application/json+oembed"
href="https://www.komoot.com/oembed?url=..." title="..." />
}}}
Adding komoot to the trusted providers list would let WordPress users
paste komoot URLs directly into the editor and get a rich
route/collection/guide embed without installing a plugin.
Suggested provider pattern:
{{{
#https?://(www\.)?komoot\.(com|de|es|fr|it|nl|pl|jp|kr)/(tour|smarttour|collection|guide)/.*#i
}}}
Suggested endpoint:
{{{
https://www.komoot.com/oembed
}}}
How to test:
1. Apply the provider allowlist patch.
2. Open a new post in Gutenberg.
3. Paste one supported komoot URL on its own line, for example:
- https://www.komoot.com/tour/2766645113
- https://www.komoot.de/collection/2050920
- https://www.komoot.com/guide/1006/dolomites-mountain-passes
4. Confirm WordPress resolves the URL to an embed block.
5. Confirm the front-end post output contains the iframe from the oEmbed
response.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/65190>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list