| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
var onYouTubePlayerAPIReady = function() {}; |
| 25 |
|
| 26 |
|
| 27 |
window.onYouTubePlayerAPIReady = function() {}; |
| 28 |
|
| 29 |
|
| 30 |
var YT = {}; |
| 31 |
|
| 32 |
|
| 33 |
|
| 34 |
|
| 35 |
|
| 36 |
|
| 37 |
YT.Player = function(container, opts) {}; |
| 38 |
|
| 39 |
|
| 40 |
|
| 41 |
|
| 42 |
|
| 43 |
|
| 44 |
YT.Player.prototype.cueVideoById = |
| 45 |
function(videoId, startSeconds, suggestedQuality) {}; |
| 46 |
|
| 47 |
|
| 48 |
|
| 49 |
|
| 50 |
|
| 51 |
|
| 52 |
YT.Player.prototype.loadVideoById = |
| 53 |
function(videoId, startSeconds, suggestedQuality) {}; |
| 54 |
|
| 55 |
|
| 56 |
|
| 57 |
|
| 58 |
|
| 59 |
|
| 60 |
YT.Player.prototype.cueVideoByUrl = |
| 61 |
function(mediaContentUrl, startSeconds, suggestedQuality) {}; |
| 62 |
|
| 63 |
|
| 64 |
|
| 65 |
|
| 66 |
|
| 67 |
|
| 68 |
YT.Player.prototype.loadVideoByUrl = |
| 69 |
function(mediaContentUrl, startSeconds, suggestedQuality) {}; |
| 70 |
|
| 71 |
|
| 72 |
|
| 73 |
|
| 74 |
|
| 75 |
|
| 76 |
|
| 77 |
YT.Player.prototype.cuePlaylist = |
| 78 |
function(playlist, index, startSeconds, suggestedQuality) {}; |
| 79 |
|
| 80 |
|
| 81 |
|
| 82 |
|
| 83 |
|
| 84 |
|
| 85 |
|
| 86 |
YT.Player.prototype.loadPlaylist = |
| 87 |
function(playlist, index, startSeconds, suggestedQuality) {}; |
| 88 |
|
| 89 |
|
| 90 |
YT.Player.prototype.playVideo = function() {}; |
| 91 |
|
| 92 |
|
| 93 |
YT.Player.prototype.pauseVideo = function() {}; |
| 94 |
|
| 95 |
|
| 96 |
YT.Player.prototype.stopVideo = function() {}; |
| 97 |
|
| 98 |
|
| 99 |
|
| 100 |
|
| 101 |
|
| 102 |
YT.Player.prototype.seekTo = function(seconds, allowSeekAhead) {}; |
| 103 |
|
| 104 |
|
| 105 |
YT.Player.prototype.clearVideo = function() {}; |
| 106 |
|
| 107 |
|
| 108 |
YT.Player.prototype.nextVideo = function() {}; |
| 109 |
|
| 110 |
|
| 111 |
YT.Player.prototype.previousVideo = function() {}; |
| 112 |
|
| 113 |
|
| 114 |
YT.Player.prototype.playVideoAt = function(index) {}; |
| 115 |
|
| 116 |
|
| 117 |
YT.Player.prototype.mute = function() {}; |
| 118 |
|
| 119 |
|
| 120 |
YT.Player.prototype.unMute = function() {}; |
| 121 |
|
| 122 |
|
| 123 |
YT.Player.prototype.isMuted = function() {}; |
| 124 |
|
| 125 |
|
| 126 |
YT.Player.prototype.setVolume = function(volume) {}; |
| 127 |
|
| 128 |
|
| 129 |
|
| 130 |
|
| 131 |
|
| 132 |
YT.Player.prototype.getVolume = function() {}; |
| 133 |
|
| 134 |
|
| 135 |
YT.Player.prototype.setLoop = function(loopPlaylists) {}; |
| 136 |
|
| 137 |
|
| 138 |
YT.Player.prototype.setShuffle = function(shufflePlaylist) {}; |
| 139 |
|
| 140 |
|
| 141 |
|
| 142 |
|
| 143 |
|
| 144 |
YT.Player.prototype.getVideoBytesLoaded = function() {}; |
| 145 |
|
| 146 |
|
| 147 |
|
| 148 |
|
| 149 |
|
| 150 |
YT.Player.prototype.getVideoBytesTotal = function() {}; |
| 151 |
|
| 152 |
|
| 153 |
|
| 154 |
|
| 155 |
|
| 156 |
YT.Player.prototype.getVideoStartBytes = function() {}; |
| 157 |
|
| 158 |
|
| 159 |
|
| 160 |
|
| 161 |
|
| 162 |
YT.Player.prototype.getPlayerState = function() {}; |
| 163 |
|
| 164 |
|
| 165 |
|
| 166 |
|
| 167 |
|
| 168 |
YT.Player.prototype.getCurrentTime = function() {}; |
| 169 |
|
| 170 |
|
| 171 |
|
| 172 |
|
| 173 |
|
| 174 |
YT.Player.prototype.getPlaybackQuality = function() {}; |
| 175 |
|
| 176 |
|
| 177 |
YT.Player.prototype.setPlaybackQuality = function(suggestedQuality) {}; |
| 178 |
|
| 179 |
|
| 180 |
|
| 181 |
|
| 182 |
|
| 183 |
YT.Player.prototype.getAvailableQualityLevels = function() {}; |
| 184 |
|
| 185 |
|
| 186 |
|
| 187 |
|
| 188 |
|
| 189 |
YT.Player.prototype.getDuration = function() {}; |
| 190 |
|
| 191 |
|
| 192 |
|
| 193 |
|
| 194 |
|
| 195 |
YT.Player.prototype.getVideoUrl = function() {}; |
| 196 |
|
| 197 |
|
| 198 |
|
| 199 |
|
| 200 |
|
| 201 |
YT.Player.prototype.getVideoEmbedCode = function() {}; |
| 202 |
|
| 203 |
|
| 204 |
|
| 205 |
|
| 206 |
|
| 207 |
YT.Player.prototype.getPlaylist = function() {}; |
| 208 |
|
| 209 |
|
| 210 |
|
| 211 |
|
| 212 |
|
| 213 |
YT.Player.prototype.getPlaylistIndex = function() {}; |
| 214 |
|
| 215 |
|
| 216 |
|
| 217 |
|
| 218 |
|
| 219 |
YT.Player.prototype.addEventListener = function(eventName, listenerName) {}; |
| 220 |
|
| 221 |
|
| 222 |
YT.PlayerState = { |
| 223 |
ENDED: 0, |
| 224 |
PLAYING: 1, |
| 225 |
PAUSED: 2, |
| 226 |
BUFFERING: 3, |
| 227 |
CUED: 4 |
| 228 |
}; |
| 229 |
|
| 230 |
|
| 231 |
|
| 232 |
|
| 233 |
|
| 234 |
YT.Event = function() {}; |
| 235 |
|
| 236 |
|
| 237 |
YT.Event.prototype.data; |
| 238 |
|
| 239 |
|
| 240 |
YT.Event.prototype.target = null; |