When you create some javascript which leads to a target site, not using A ahref, it still used to show as a backlink when you searched link: on google.
I think embedding a videos counts as a citation, though not as a link but as a signal that that video is related to whatever is on that page.