BBCode for embedding a Strava activity.

Get help developing custom BBCodes or request one.
Post Reply
jefmcg
Registered User
Posts: 43
Joined: Mon Aug 13, 2018 11:04 am

BBCode for embedding a Strava activity.

Post by jefmcg »

I've created a simple BBCode to embed a strava activity in a post. It seems to work fine.


BBCode:

Code: Select all

[strava]https://www.strava.com/activities/{SIMPLETEXT1}/embed/{SIMPLETEXT2}[/strava]
HTML:

Code: Select all

<iframe height='405' width='590' frameborder='0' allowtransparency='true' scrolling='no' src='https://www.strava.com/activities/{SIMPLETEXT1} /embed/{SIMPLETEXT2}'></iframe>
To actually use it, you need to login to strava and then go to your activity, click the share icon, and choose embed on blog. That gives you the IFRAME HTML, but you only need the embed link within that.


It looks like this (pardon the language):
Attachments
Capture.PNG
Last edited by jefmcg on Mon Jan 07, 2019 4:39 pm, edited 1 time in total.
User avatar
ViolaF
Registered User
Posts: 1541
Joined: Tue Aug 14, 2012 11:52 pm

Re: BBCode for embedding a Strava activity.

Post by ViolaF »

Thanx 4 sharing :D
Post Reply

Return to “Custom BBCode Development and Requests”