I am trying to interface with the YouTube player API. This works fine. However, the API lets you define callbacks that are fired whenever, for instance, the video has finished playing. I would like to call a ModelController action at that time. How can I access actions on my ModelController from within native JS? Opal.Volt.??? ?
[question copied from gitter]