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 : https://connect.garmin.com/modern/activity/00000
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