}
// console.log(params);
- var embedLink = self.getEmbedURL( params );
- form.find('.BRframeEmbed').val('<iframe src="' + embedLink + '" width="480" height="480"></iframe>');
+ form.find('.BRframeEmbed').val(self.getEmbedCode());
})
jForm.find('input[name=thispage]').trigger('change');
jForm.find('input, textarea').bind('focus', function() {
//________
// Returns the embed code HTML fragment suitable for copy and paste
br.getEmbedCode = function() {
- return "<iframe src='" + this.getEmbedURL() + "' width='480px' height='430px'></iframe>";
+ return "<iframe src='" + this.getEmbedURL() + "' width='480px' height='430px' frameborder='0' ></iframe>";
}
// getOpenLibraryRecord