/**
  * Fetch Flowplayer Drive Videos
  *
  * @since    1.2.0
  */
 protected function make_video_request()
 {
     $authcode = $this->make_auth_request();
     $query_args = array('videos' => 'true', 'authcode' => $authcode);
     $verified_video_api_url = add_query_arg($query_args, $this->video_api_url);
     $args = array('user-agent' => 'wp_flowplayer5/version_' . $this->plugin_version);
     $response = wp_remote_get(esc_url_raw($verified_video_api_url), $args);
     $json = $this->json_decode_body($response);
     if (200 == wp_remote_retrieve_response_code($response)) {
         return $json->account;
     }
     if ('Cannot find account' == $json) {
         Flowplayer_Drive_Error::showNewUserError();
         return;
     }
     if ('authcode missing' != $json) {
         Flowplayer_Drive_Error::showVideoApiError();
         return;
     }
 }
 public static function showLoginError()
 {
     Flowplayer_Drive_Error::show('login', sprintf(__('Please %1$s with your %2$s username and password.', 'flowplayer5'), '<a href="' . esc_url(admin_url('edit.php?post_type=flowplayer5&page=flowplayer5_settings')) . '">' . __('login', 'flowplayer5') . '</a>', '<a href="' . esc_url('http://flowplayer.org/') . '">' . __('Flowplayer.org', 'flowplayer5') . '</a>'));
 }