Skip to content

Commit

Permalink
Updating the version number and also adding into the readme as part o…
Browse files Browse the repository at this point in the history
…f example for toolbars.
  • Loading branch information
mikesheward committed Feb 15, 2016
1 parent 341b675 commit 9fc1158
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/jquery.youtube-embed.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@
this.imageContainerRatioPadding();
}

var showToolbars = this.options.showControls ? 1 : 0;
var showToolbars = this.options.toolbars ? 1 : 0;
this.$iframe = $( '<iframe width="'+this.options.width+'" height="'+this.options.height+'" src="'+ videoUrl +'" '+iframeStyling+' frameborder="0" toolbars="'+showToolbars+'" allowfullscreen></iframe>' );
this.$element.append( this.$iframe );
},
Expand Down

0 comments on commit 9fc1158

Please sign in to comment.