From 9a0a8f81671091d1e2a1e86a377f2f452ad7a486 Mon Sep 17 00:00:00 2001 From: Scott Downe Date: Thu, 14 Jun 2012 11:24:06 -0400 Subject: [PATCH] [#1147] Added comments for what things are for. --- players/youtube/popcorn.youtube.js | 2 ++ players/youtube/popcorn.youtube.unit.html | 2 ++ 2 files changed, 4 insertions(+) diff --git a/players/youtube/popcorn.youtube.js b/players/youtube/popcorn.youtube.js index 80bd4237..fdf879e5 100755 --- a/players/youtube/popcorn.youtube.js +++ b/players/youtube/popcorn.youtube.js @@ -7,6 +7,8 @@ window.onYouTubePlayerAPIReady = function() { } }; +// existing youtube references can break us. +// remove it and use the one we can trust. window.YT = null; onYouTubePlayerAPIReady.waiting = []; diff --git a/players/youtube/popcorn.youtube.unit.html b/players/youtube/popcorn.youtube.unit.html index af94cb2b..165552d6 100644 --- a/players/youtube/popcorn.youtube.unit.html +++ b/players/youtube/popcorn.youtube.unit.html @@ -4,6 +4,8 @@ Popcorn YouTube Player + +