I am getting an error when run my app from chrome Youtube.refresh() not a function please help I am on a deadlin
Just tried the YouTube sample -
YouTube1.refresh() works fine.
did you deploy it to your site or run it locally?
It runs fine locally after I deploy to my site I get the Youtube1.refresh() is not a function
I think I see a possible problem. If you try to do it too soon, before the control is fully instantiated, the refresh() method won’t be there yet.
Call it from Main(), which is a function that is called after all the controls are loaded.
I am sorry that didn’t work same error message
Is YouTube1 being properly created?
This message will appear when
YouTube1 is not a YouTube control.