- Compatible XF 1.x versions
- 1.3
- 1.4
- 1.5
- Visible branding
- No
Download and upload the Strava.php file to the library/MediaSites/ folder on your XenForo installation.
Media Site ID: strava
Site Title: Strava
Site URL: https://www.strava.com/
Match URLs:
Code:
#https://www\.strava\.com/activities/(?P<id>[0-9]+/embed/[a-z0-9]+)$#siU
Advanced Options
Regular Expression Matching: check
URL Match Callback: MediaSites_Strava::extractParams
Embed HTML Callback: MediaSites_Strava::buildEmbed
On Strava, choose to share the run / cycle
Get the embed on blog code
Grab the src URL from there, as that is what you want to use for the Media site
eg
https://www.strava.com/activities/175747749/embed/417196849660173951c4f4444e0c57930f8127a2