|
|
@@ -88,22 +88,22 @@ class Zend_Gdata_YouTube extends Zend_Gdata_Media
|
|
|
const AUTH_SERVICE_NAME = 'youtube';
|
|
|
const CLIENTLOGIN_URL = 'https://www.google.com/youtube/accounts/ClientLogin';
|
|
|
|
|
|
- const STANDARD_TOP_RATED_URI = 'http://gdata.youtube.com/feeds/api/standardfeeds/top_rated';
|
|
|
- const STANDARD_MOST_VIEWED_URI = 'http://gdata.youtube.com/feeds/api/standardfeeds/most_viewed';
|
|
|
- const STANDARD_RECENTLY_FEATURED_URI = 'http://gdata.youtube.com/feeds/api/standardfeeds/recently_featured';
|
|
|
- const STANDARD_WATCH_ON_MOBILE_URI = 'http://gdata.youtube.com/feeds/api/standardfeeds/watch_on_mobile';
|
|
|
+ const STANDARD_TOP_RATED_URI = 'https://gdata.youtube.com/feeds/api/standardfeeds/top_rated';
|
|
|
+ const STANDARD_MOST_VIEWED_URI = 'https://gdata.youtube.com/feeds/api/standardfeeds/most_viewed';
|
|
|
+ const STANDARD_RECENTLY_FEATURED_URI = 'https://gdata.youtube.com/feeds/api/standardfeeds/recently_featured';
|
|
|
+ const STANDARD_WATCH_ON_MOBILE_URI = 'https://gdata.youtube.com/feeds/api/standardfeeds/watch_on_mobile';
|
|
|
|
|
|
const STANDARD_TOP_RATED_URI_V2 =
|
|
|
- 'http://gdata.youtube.com/feeds/api/standardfeeds/top_rated';
|
|
|
+ 'https://gdata.youtube.com/feeds/api/standardfeeds/top_rated';
|
|
|
const STANDARD_MOST_VIEWED_URI_V2 =
|
|
|
- 'http://gdata.youtube.com/feeds/api/standardfeeds/most_viewed';
|
|
|
+ 'https://gdata.youtube.com/feeds/api/standardfeeds/most_viewed';
|
|
|
const STANDARD_RECENTLY_FEATURED_URI_V2 =
|
|
|
- 'http://gdata.youtube.com/feeds/api/standardfeeds/recently_featured';
|
|
|
+ 'https://gdata.youtube.com/feeds/api/standardfeeds/recently_featured';
|
|
|
const STANDARD_WATCH_ON_MOBILE_URI_V2 =
|
|
|
- 'http://gdata.youtube.com/feeds/api/standardfeeds/watch_on_mobile';
|
|
|
+ 'https://gdata.youtube.com/feeds/api/standardfeeds/watch_on_mobile';
|
|
|
|
|
|
- const USER_URI = 'http://gdata.youtube.com/feeds/api/users';
|
|
|
- const VIDEO_URI = 'http://gdata.youtube.com/feeds/api/videos';
|
|
|
+ const USER_URI = 'https://gdata.youtube.com/feeds/api/users';
|
|
|
+ const VIDEO_URI = 'https://gdata.youtube.com/feeds/api/videos';
|
|
|
const PLAYLIST_REL = 'http://gdata.youtube.com/schemas/2007#playlist';
|
|
|
const USER_UPLOADS_REL = 'http://gdata.youtube.com/schemas/2007#user.uploads';
|
|
|
const USER_PLAYLISTS_REL = 'http://gdata.youtube.com/schemas/2007#user.playlists';
|
|
|
@@ -113,9 +113,9 @@ class Zend_Gdata_YouTube extends Zend_Gdata_Media
|
|
|
const VIDEO_RESPONSES_REL = 'http://gdata.youtube.com/schemas/2007#video.responses';
|
|
|
const VIDEO_RATINGS_REL = 'http://gdata.youtube.com/schemas/2007#video.ratings';
|
|
|
const VIDEO_COMPLAINTS_REL = 'http://gdata.youtube.com/schemas/2007#video.complaints';
|
|
|
- const ACTIVITY_FEED_URI = 'http://gdata.youtube.com/feeds/api/events';
|
|
|
+ const ACTIVITY_FEED_URI = 'https://gdata.youtube.com/feeds/api/events';
|
|
|
const FRIEND_ACTIVITY_FEED_URI =
|
|
|
- 'http://gdata.youtube.com/feeds/api/users/default/friendsactivity';
|
|
|
+ 'https://gdata.youtube.com/feeds/api/users/default/friendsactivity';
|
|
|
|
|
|
/**
|
|
|
* The URI of the in-reply-to schema for comments in reply to
|
|
|
@@ -132,7 +132,7 @@ class Zend_Gdata_YouTube extends Zend_Gdata_Media
|
|
|
* @var string
|
|
|
*/
|
|
|
const INBOX_FEED_URI =
|
|
|
- 'http://gdata.youtube.com/feeds/api/users/default/inbox';
|
|
|
+ 'https://gdata.youtube.com/feeds/api/users/default/inbox';
|
|
|
|
|
|
/**
|
|
|
* The maximum number of users for which activity can be requested for,
|
|
|
@@ -697,7 +697,7 @@ class Zend_Gdata_YouTube extends Zend_Gdata_Media
|
|
|
* @return array An array containing a token and URL
|
|
|
*/
|
|
|
public function getFormUploadToken($videoEntry,
|
|
|
- $url='http://gdata.youtube.com/action/GetUploadToken')
|
|
|
+ $url='https://gdata.youtube.com/action/GetUploadToken')
|
|
|
{
|
|
|
if ($url != null && is_string($url)) {
|
|
|
// $response is a Zend_Http_response object
|
|
|
@@ -834,7 +834,7 @@ class Zend_Gdata_YouTube extends Zend_Gdata_Media
|
|
|
$messageEntry->setSummary($this->newSummary($body));
|
|
|
}
|
|
|
|
|
|
- $insertUrl = 'http://gdata.youtube.com/feeds/api/users/' .
|
|
|
+ $insertUrl = 'https://gdata.youtube.com/feeds/api/users/' .
|
|
|
$recipientUserName . '/inbox';
|
|
|
$response = $this->insertEntry($messageEntry, $insertUrl,
|
|
|
'Zend_Gdata_YouTube_InboxEntry');
|