Permalink
Browse files

added mobile suport

  • Loading branch information...
Javier C Javier C
Javier C authored and Javier C committed May 13, 2012
1 parent c916155 commit 9d6610aca64a47eb6d494d115210ce7ca1f83ff3
Showing with 6 additions and 2 deletions.
  1. +2 −0 _layouts/base.html
  2. +4 −2 youTubeEmbed/youTubeEmbed-jquery-1.0.js
View
@@ -12,6 +12,8 @@
<link rel="stylesheet" type="text/css" href="youTubeEmbed/youTubeEmbed-jquery-1.0.css" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script src="/js/detectmobilebrowser.js"></script>
<script src="/js/jquery.swfobject.1-1-1.min.js"></script>
<script src="youTubeEmbed/youTubeEmbed-jquery-1.0.js"></script>
@@ -26,7 +26,7 @@
progress : null, // Progress bar
elapsed : null // The light blue elapsed bar
};
try{
@@ -181,6 +181,9 @@
{
elements.control.click();
}
else if (jQuery.browser.mobile) {
elements.control.click();
}
}
}
@@ -200,7 +203,6 @@
}
}
},'jsonp');
return elements.originalDIV;
}

0 comments on commit 9d6610a

Please sign in to comment.