Skip to content

Commit

Permalink
v1.3.4b — Fixed typo in YouTube HTML5 default width/height settings
Browse files Browse the repository at this point in the history
  • Loading branch information
John Einselen committed May 27, 2011
1 parent ddf8373 commit a50d390
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions js/mediaboxAdv.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
mediaboxAdvanced v1.3.4 - The ultimate extension of Slimbox and Mediabox; an all-media script
updated 2010.09.16
mediaboxAdvanced v1.3.4b - The ultimate extension of Slimbox and Mediabox; an all-media script
updated 2010.09.21
(c) 2007-2010 John Einselen <http://iaian7.com>
based on Slimbox v1.64 - The ultimate lightweight Lightbox clone
(c) 2007-2008 Christophe Beyls <http://www.digitalia.be>
Expand Down Expand Up @@ -677,8 +677,8 @@ var Mediabox;
mediaSplit = URL.split('v=');
if (options.html5) {
mediaType = 'url';
mediaWidth = mediaWidth || "640";
mediaHeight = mediaHeight || "385";
mediaWidth = mediaWidth || "640px";
mediaHeight = mediaHeight || "385px";
mediaId = "mediaId_"+new Date().getTime(); // Safari may not update iframe content with a static id.
preload = new Element('iframe', {
'src': 'http://www.youtube.com/embed/'+mediaSplit[1],
Expand Down

0 comments on commit a50d390

Please sign in to comment.