put iframe into fullscreen

This commit is contained in:
j 2012-12-20 18:29:07 +00:00
commit 397badc10f
2 changed files with 8 additions and 2 deletions

View file

@ -45,7 +45,9 @@ pandora.ui.embedDialog = function(data) {
'<iframe width="' + width
+ '" height="' + height
+ '" src="' + constructURL(data)
+ '" frameborder="0" allowfullscreen></iframe>'
+ '" frameborder="0" '
+ 'webkitAllowFullScreen mozallowfullscreen allowFullScreen'
+ '></iframe>'
).on({
click: function() {
this.focus();