• Hello,

    So I am working locally on a wordpress site for educational purpose.
    I’m trying to display youtube videos that are private on youtube.

    So I went to google console api, generate a project, generate an API KEY.

    In WP youtube lyte I entered my API key, and the “Test key” button answer me that my API KEY is good.

    The problem is that when I want to display my video on the website, I have a little thumbnail that say me “This video is not available”.

    What should I do ?

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    hmmm .. 2 questions:
    1. can you either share a screenshot of the “little thumbnai that says ‘this video is not available'”?
    2. is the account used on YouTube to upload those video’s the same as the one you created the API key with?

    Thread Starter tazerh

    (@tazerh)

    here is what I see when I just came to the page :
    https://ibb.co/6s4ymh8
    And if I click on the Play icon :
    https://ibb.co/m5Q3N3c

    It’s the same message that we can see on a youtube video that is private like : https://www.youtube.com/watch?v=_n8aLik_qTs

    And yes, I made the API KEY with the same google/youtube account that hosts my video..

    I set no restrictions on my api key, so “localhost” shouldn’t be a problem, right ?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    hmm … I *think* you’ll have to switch the video’s from “private” to “unlisted” if you want to be able to embed them, can you try that?

    Thread Starter tazerh

    (@tazerh)

    Yes I confirm that with ??unlisted?? status the video is showing up.
    But I wanted that the visitors can’t share the link to other people..
    That only my website can display the video

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    I *think* embedding private video’s is simply impossible, no?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘API KEY is ok, but private videos do not display’ is closed to new replies.