Added an error check

Used native API's onerror event for both soundcloud and youtube to
ensure that there is no bad loaded things