New Dynamic YouTube Gallery - Embed YouTube Playlist, Channel, Live Stream in minutes. Read More

Youtube videos not playing with API method

  • Tony Murray
  • Topic Author
  • Visitor
  • Visitor

Youtube videos not playing with API method was created by Tony Murray

Hi,
I submitted a post earlier which I was just going to edit or add to, but I can't find it so I've started a new one.
I set up my video player using the youtube API but it comes up with the message 'Video not found (or) Embedding for this video is disabled by its owner.'
If I use the Third Party Embed Code method the same video plays, but not with the YouTube API method.
Anything I can do to fix this?
Thanks,
Tony
11 years 1 month ago #5331

Please Log in or Create an account to join the conversation.

  • Posts: 2478
  • Thank you received: 1451

Replied by Administrator on topic Re: Youtube videos not playing with API method

The video might be blocked for Chrome-less player API. Anyhow, kindly get me your Live Site URL in where I can check this directly.
11 years 1 month ago #5333

Please Log in or Create an account to join the conversation.

  • Tony Murray
  • Topic Author
  • Visitor
  • Visitor

Replied by Tony Murray on topic Re: Youtube videos not playing with API method

Thanks for your reply.
Unfortunately I can't give you my site url as its still in construction and is a local install.
What is 'Chrome-less'? Can I make any changes allow videos of this type?
11 years 1 month ago #5335

Please Log in or Create an account to join the conversation.

  • Posts: 2478
  • Thank you received: 1451

Replied by Administrator on topic Re: Youtube videos not playing with API method

Please don't confuse on API or terms related to it.

Could you at-least get the YouTube Video URL that you try to play. So, I can get you the exact solution.
11 years 1 month ago #5338

Please Log in or Create an account to join the conversation.

  • Tony Murray
  • Topic Author
  • Visitor
  • Visitor

Replied by Tony Murray on topic Re: Youtube videos not playing with API method

Ok, here's the code below.
I've tried several different videos but I'm embedding them all in the same way, so maybe its something I'm doing wrong.

<iframe width="560" height="315" src="
" frameborder="0" allowfullscreen>

My General Settings are-
Type - Youtube
Video - <iframe width="560" height="315" src="
" frameborder="0" allowfullscreen>
Thumb - ?I'm still unsure what I should put in here.?
Preview - ?as above?

I have put it in a cagegory
Selected 'featured'
Selected 'publish'

hope this helps clear it up
Thanks for your prompt replies
11 years 1 month ago #5339

Please Log in or Create an account to join the conversation.

  • Posts: 2478
  • Thank you received: 1451

Replied by Administrator on topic Re: Youtube videos not playing with API method

Auto thumbnail generation for YouTube doesn't work in "Third Party Embed Code" method. So, you will have to add these inputs manually.

The good news is that you don’t actually have to generate a thumbnail, YouTube actually has several waiting for you:

Here’s the video – notice the video id(XXXXXXXXXX)?
http://www.youtube.com/watch?v=XXXXXXXXXX
Here are the images in a couple sizes and frames, note the video id is embedded in the URL:
http://img.youtube.com/vi/XXXXXXXXXX/0.jpg
http://img.youtube.com/vi/XXXXXXXXXX/1.jpg
http://img.youtube.com/vi/XXXXXXXXXX/2.jpg
11 years 1 month ago #5342

Please Log in or Create an account to join the conversation.

Time to create page: 0.107 seconds

We accept cookies to provide you the best viewing experience. By using our services, you agree to our use of cookies