Jump to content

slarson22

New Members
  • Posts

    1
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

slarson22's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. function CHECK_VIDEO(){ error_type = 1; VIDEO_URL = document.getElementById("YOUTUBE_URL").value; VIDEO_URL_INFO = youtube_get_code.exec(VIDEO_URL); ys.loadVideoById(VIDEO_URL_INFO[1], 0, "default"); } This function will run good, then error the second run, then run good the third time, then error the fourth. So it errors everyother time. Why? Heres the error in firebug: TypeError: VIDEO_URL_INFO is null ys.loadVideoById(VIDEO_URL_INFO[1], 0, "default");
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.