Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8240009
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T20:20:25+00:00 2026-06-07T20:20:25+00:00

How to detect if a youtube video is not playable? I am aware there

  • 0

How to detect if a youtube video is not playable?

I am aware there is a way by calling a request to the youtube api however this would take too much time to check for each video since the videos are playing on user request.

Is there a way to check on the status of the youtube player and if it does not play then act accordingly?

I know there a few status like ready, stopped, playing, qued. Couldnt find a status for this specific thing.

Thanks in advance

ok I have found the solution. But it wouldnt let me post it because im not cool enough like you guys. Here it is:

onYouTubePlayerReady = function() {
    player.addEventListener("onError", "onPlayerError");
}

function onPlayerError(errorCode) {
    playnext();
}

if you want to check for a certain error the error codes are on the youtube site. However this was enough for me.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T20:20:28+00:00Added an answer on June 7, 2026 at 8:20 pm

    If by ‘blocked’ you mean removed by the user, or removed because of copyright infringement, then your answer will be in this thread….

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to use the YouTube API to detect when a video ends
I want to write a Greasemonkey script to detect when a YouTube video on
I've just watched this video showing off an app: https://www.youtube.com/watch?v=2qM3Zps_0pE&feature=player_embedded At 3:34. How in
I am looking to detect with Javascript the fastest possible way, if there is
I detect if a user has chrome frame by placing this in teh body
How can I detect if an iPhone has a retina display or not? Is
I'm trying to detect if a page has a video. If it does then
We have YouTube videos on a site and want to detect if it is
For detect undefined variable which have been declared in javascript there at least two
To detect whether internet is connected or not I am using the following code:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.