Youtube Embed Iframe - Events Not Firing In Local

后端 未结 2 1895
栀梦
栀梦 2020-12-12 02:38

I\'ve just noticed that the Youtube events (onReady, onStateChange) are no longer firing when I am testing in my local, but works when I upload the code to JsFiddle. I\'ve d

2条回答
  •  借酒劲吻你
    2020-12-12 03:23

    I had put in a fix that implemented the "origin=" param, fixing the original bug and firing state change events.

    Now having that origin param is causing the bug. Removed the param, and it works again.

提交回复
热议问题