• Hello,

    I just started using your plugin and can’t get it to work. Here is error code:

    <!-- YouTube Live debugging: 
    EmbedYoutubeLiveStreaming::__set_state(array(
       'channelId' => '',
       'API_Key' => '',
       'jsonResponse' => '{
     "error": {
      "errors": [
       {
        "domain": "youtube.parameter",
        "reason": "missingRequiredParameter",
        "message": "No filter selected. Expected one of: id, idParam, chart, myRated",
        "locationType": "parameter",
        "location": ""
       }
      ],
      "code": 400,
      "message": "No filter selected. Expected one of: id, idParam, chart, myRated"
     }
    }
    ',
       'objectResponse' => 
      (object) array(
         'error' => 
        (object) array(
           'errors' => 
          array (
            0 => 
            (object) array(
               'domain' => 'youtube.parameter',
               'reason' => 'missingRequiredParameter',
               'message' => 'No filter selected. Expected one of: id, idParam, chart, myRated',
               'locationType' => 'parameter',
               'location' => '',
            ),
          ),
           'code' => 400,
           'message' => 'No filter selected. Expected one of: id, idParam, chart, myRated',
        ),
      ),
       'arrayResponse' => 
      array (
        'error' => 
        array (
          'errors' => 
          array (
            0 => 
            array (
              'domain' => 'youtube.parameter',
              'reason' => 'missingRequiredParameter',
              'message' => 'No filter selected. Expected one of: id, idParam, chart, myRated',
              'locationType' => 'parameter',
              'location' => '',
            ),
          ),
          'code' => 400,
          'message' => 'No filter selected. Expected one of: id, idParam, chart, myRated',
        ),
      ),
       'errorMessage' => 'No filter selected. Expected one of: id, idParam, chart, myRated',
       'errorArray' => 
      array (
        0 => 
        array (
          'domain' => 'youtube.parameter',
          'reason' => 'missingRequiredParameter',
          'message' => 'No filter selected. Expected one of: id, idParam, chart, myRated',
          'locationType' => 'parameter',
          'location' => '',
        ),
      ),
       'isLive' => NULL,
       'queryData' => 
      array (
        'key' => 'AIzaSyAdMA6-xTBwJRXXL1UD6OZ37KCvyZ3Hv1M',
        'part' => 'id,snippet',
        'id' => NULL,
      ),
       'getAddress' => 'https://www.googleapis.com/youtube/v3/',
       'getQuery' => 'key=AIzaSyAdMA6-xTBwJRXXL1UD6OZ37KCvyZ3Hv1M&part=id%2Csnippet',
       'queryString' => 'https://www.googleapis.com/youtube/v3/videos?key=AIzaSyAdMA6-xTBwJRXXL1UD6OZ37KCvyZ3Hv1M&part=id%2Csnippet',
       'part' => 'id,snippet',
       'eventType' => 'upcoming',
       'type' => 'video',
       'subdomain' => 'www',
       'default_embed_width' => '560',
       'default_embed_height' => '315',
       'default_ratio' => 1.7777777777777777,
       'embed_code' => '                <div id="wpYouTubeLive" width="720" height="480"></div>
                    <script>
                        var wpYTPlayer;
                        function onYouTubeIframeAPIReady() {
                            wpYTPlayer = new YT.Player(\'wpYouTubeLive\', {
                                videoId: \'\',
                                playerVars: {
                                    \'autoplay\': 0,
                                    \'rel\': 0                            },
                                events: {
                                    \'onReady\': wpYTonPlayerReady,
                                    \'onStateChange\': wpYTonPlayerStateChange
                                }
                            });
                        }
                    </script>
                ',
       'embed_autoplay' => NULL,
       'embed_width' => '720',
       'embed_height' => '480',
       'show_related' => NULL,
       'live_video_id' => NULL,
       'live_video_title' => NULL,
       'live_video_description' => NULL,
       'live_video_publishedAt' => NULL,
       'live_video_thumb_default' => NULL,
       'live_video_thumb_medium' => NULL,
       'live_video_thumb_high' => NULL,
       'resource_type' => 'live',
       'uploads_id' => NULL,
       'channel_title' => NULL,
       'completed_video_id' => '',
       'resource' => 'videos',
    ))
    • This topic was modified 4 years, 7 months ago by Krzsz.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author macbookandrew

    (@macbookandrew)

    I see your API key in the error above, but I don’t see your channel ID. Please double-check that you’ve added that in the plugin settings.

Viewing 1 replies (of 1 total)
  • The topic ‘missingRequiredParameter error’ is closed to new replies.