share form: Handle multiple embedded videos

Don't reply on global variables pointing to the correct video, this can change if multiple videos are loaded.  Instead, reference the correct form from the context of the event.
Remove old TODO
scope variables