xF1 Add-on - Strava | NulledTeam UnderGround | The Best Scripts Site In The World
Resource icon

xF1 Add-on Strava 1.1

No permission to download
Compatible XF Versions 1.x
1.3, 1.4, 1.5


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
Embed HTML: <see callback>

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

Author
AnimeHaxor
Downloads
2
Views
241
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from AnimeHaxor