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 : https://github.com/iunctis/garmin_connect_onebox/blob/master/plugin.rb
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
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
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 : http://iunctis.fr/t/runner-course-a-pied/459/789
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