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 8705137
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T03:16:58+00:00 2026-06-13T03:16:58+00:00

Do I need Developer’s key for using oembed for youtube in my website? The

  • 0

Do I need Developer’s key for using oembed for youtube in my website?

The problems is that following code does not works, It does not returns to succes

 $.ajax({
                    url: "http://www.youtube.com/oembed?url=http://www.youtube.com/watch?v=PVzljDmoPVs",
                    dataType: "jsonp",
                    timeout: 15000,
                    success: function (jo) {
                        if (jo) {
                            setIMg(jo.thumbnail_url);
                            setTitle(jo.title);
                        }
                    }
                });

But when i fire the url in the browser then it gives me the json:

{"provider_url": "http:\/\/www.youtube.com\/", "thumbnail_url": "http:\/\/i1.ytimg.com\/vi\/PVzljDmoPVs\/hqdefault.jpg", "title": "David Guetta - She Wolf (Falling To Pieces) ft. Sia", "html": "\u003ciframe width=\"480\" height=\"270\" src=\"http:\/\/www.youtube.com\/embed\/PVzljDmoPVs?fs=1\u0026feature=oembed\" frameborder=\"0\" allowfullscreen\u003e\u003c\/iframe\u003e", "author_name": "davidguettavevo", "height": 270, "thumbnail_width": 480, "width": 480, "version": "1.0", "author_url": "http:\/\/www.youtube.com\/user\/davidguettavevo", "provider_name": "YouTube", "type": "video", "thumbnail_height": 360}

  • 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-13T03:16:59+00:00Added an answer on June 13, 2026 at 3:16 am

    Firstly no, you don’t need a developer key to use the oembed endpoints of YouTube.

    Secondly, YouTube doesn’t support JSONP on its oEmbed endpoint, that’s the reason your call fails. In order to fix it, you can use a third party oEmbed provider such as reEmbed.me

    Here is the sample code:

    var serviceUrl = "http://reembed.me/api/v1/OEmbed?url=";
    var url = "http://www.youtube.com/watch?v=PVzljDmoPVs";
    $.getJSON(serviceUrl + encodeURIComponent(url) + "&callback=?", null, function (jo) {
        if (jo) {
            setIMg(jo.thumbnail_url);
            setTitle(jo.title);
        }
    });
    

    Note that the link being passed is the actual video url, not the oembed endpoint link.

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

Sidebar

Related Questions

I need to be able to diagnose client-side code issues using IE9 (F12) developer
I am a very proficient C# developer, but need to start writing code that
I need to create an iOS .xarchive file using a developer profile, that a
I am asp.net developer I need to know about how does scrapbook works in
On large-scale Java/.Net Enterprise projects, does every developer need to have all the components/libraries/dependencies
I've inherited a VB website (I'm a C# developer by trade) and need to
I make DDL changes using SQL Developer's GUI. Problem is, I need to apply
I need to finish others developer work but problem is that he started in
I'm a newbie developer and I need your help with something that is probably
I am not a Flash/ActionScript developer but I need to achieve a very small

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.