Permalink
Browse files

minor fixes

  • Loading branch information...
1 parent fc8c015 commit 7bcfc2922cb70e16cd3fb2571c3174af003d9908 @k88hudson k88hudson committed Jun 5, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 players/youtube/popcorn.youtube.js
@@ -228,7 +228,7 @@ Popcorn.player( "youtube", {
height = media.clientHeight >= 390 ? "" + media.clientHeight : "390";
width = media.clientWidth >= 640 ? "" + media.clientWidth : "640";
- media.style.display = "block";
+ media.style.display = originalStyle;
options.youtubeObject = new YT.Player( container.id, {
height: height,
@@ -340,7 +340,7 @@ Popcorn.player( "youtube", {
var youtubeObject = options.youtubeObject;
if( youtubeObject ){
youtubeObject.stopVideo();
- // youtubeObject.clearVideo();
+ youtubeObject.clearVideo();
}
this.removeChild( document.getElementById( options._container.id ) );

0 comments on commit 7bcfc29

Please sign in to comment.