• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

My Monkey Do

A Log of Coding Solutions

  • Home
  • Web Hosts
  • Tools
  • About

youtube

Sorry, This Content Could Not Be Embedded

September 9, 2020 by Webhead

I was trying to embed a youtube video in a post and it said “Sorry, this content could not be embedded”. The console showed a 404 error trying to connect to wp-json/oembed/1.0/embed.

I tried another video and it worked. According to this stack exchange post, the first video I was trying to embed probably didn’t allow for websites to embed their content.

Filed Under: Coding Tagged With: embed, wordpress, youtube

Get the YouTube Thumbnail Image

October 13, 2011 by Webhead

To get the YouTube thumbnail image, you would either use their API or a simpler method would be to use this format of the url:

http://img.youtube.com/vi/VIDEO_ID/#.jpg

Where VIDEO_ID is the last bunch of characters after “v=” in the URL: http://www.youtube.com/watch?v=0TflnHlQMt8

# is the thumbnail number.   The choices are 0, 1, 2, 3.  0 is the default full size image (480×360).  2 is the default small image (120×90).  1 and 3 are other optional small images that is not the default thumbnail.

source: http://www.reelseo.com/youtube-thumbnail-image/
search terms used: youtube get the image

 

Filed Under: Coding Tagged With: image, youtube

Primary Sidebar

Topics

apache apple block editor chrome cms css debug eCommerce embed firebug firefox git gmail goDaddy google hosting htaccess html html 5 IE crap image iPad iPhone javascript jquery linux localization mac os x ms sql mysql open source optimize php php 5.3 responsive rest api seo svg tinymce woocommerce wordpress wpengine xss yii youtube




Categories

  • Coding
  • Off the Shelf
  • Plugins
  • Random Thoughts
  • Server Stuff
  • Tools