Garmin Connect Course Onebox Plugin

(Ewan McDougall) #1

Simple plugin to embed garmin connect courses, GitHub - mrloop/garmin_connect_onebox: Garmin connect Onebox for embeding garmin courses
An example of it being used: Sun 19th Oct '14 - "Spey & Moor." - Club Run - Elgin Cycling Club


Nice plugin. We have few runners in our community and it’s helpful.

Although, it seems that Garmin changed the iframe. The new courses use this link :

I forked the plugin and updated it, I don’t know if I make a pull request, old links will be broken.

I share my update if someone wants to see what I’ve done :

(Ewan McDougall) #3

Glad you like it, and thanks for the update about the links. I can update the regex to match the old and new links. Or if you’d prefer and want to give it a shot make a pull request that matches the old and new. Let me know. Cheers Ewan


I’ll let you do that, it will be great

(Ewan McDougall) #5

@Steven are there any variations on the new links?
The old links had 2 variations
Garmin Connect
Garmin Connect

(Ewan McDougall) #6

In fact we probably want to use the new embeds as well right?
So you see the newer UI in the onebox.


I don’t think so, I saw only one : Garmin Connect

The old embed was fine too, but I don’t know if it works with the new one

(Ewan McDougall) #8

Hi Steven,
Have you got an example of the plugin working with the new activity link?
There’s a few variations and a distinction between courses and activites.
Looks like we can get modern UI with activities and the old style with courses. Half updated plugin and written some tests, will finish in the next couple of days.


Here is one example : 🏃 Course à pied - Communauté -

(Ewan McDougall) #10

Thank, just updated plugin, let me know how you get along.


Tried it, both links works fine. Great update !

I didn’t follow your install guide tho, I went with the usual one (- git clone link) in the app.yml