html - How to make my iframe's javascript accessible to other sites? -


I am applying a media player type that other site developers can embed on their website. I have to provide them a set of JavaScript functions that they can call from other parts of their website. I have a SVF file with an external interface, so I want to load it in an iframe.

How can I make javascript accessible out of my IFrame?

I looked at the X-frame-option but this permission-to-command does not work with Chrome and Safari What are my options?

This is the HTML5 way to do this.

If you can not trust being used in your HTML5 environment, (A) that is really sad, and (b) you can use.

Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -