I have an iframe with a video, for example:
Unless your website also has the host, protocol and port of http://player.vimeo.com, you can not run any code on the iframe's document.
http://player.vimeo.com
iframe
document