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
Post a Comment