Check whether channel is online or not via js [SOLUTION FOUND]

  1. I get the same: “ReferenceError: Can’t find variable: $”. Can you help me to fix it, please?)
  2. In your code, “//logic here” executes if channel is live, or if request succeeded no matter what the result?