javascript - Youtube iframe API limited methods -


i'm trying use youtube iframe api establish control prepopulated youtube video embedded iframe on page. use this:

var player = new yt.player("video1") 

in of cases, works well, however, in cases player object has limited number of methods (e.g. 4 methods ".getiframe", ".getoption", ".getoptions", , ".getvideoembedcode".). has experienced same issue , knows way out?

i noticed can provoke same behavior, when there violation of trusted origin parameter (e.g. reference iframe has origin parameter http://examplea.com hosted on http://exampleb.com), however, doesn't seem limited that, in case in question, there no origin violation.

any or feedback highly appreciated!


Comments

Popular posts from this blog

node.js - Using Node without global install -

How to access a php class file from PHPFox framework into javascript code written in simple HTML file? -

java - Null response to php query in android, even though php works properly -