diff --git a/app/js/services.js b/app/js/services.js index 77578e885..14c3c2ced 100755 --- a/app/js/services.js +++ b/app/js/services.js @@ -2931,7 +2931,7 @@ angular.module('myApp.services', ['myApp.i18n', 'izhukov.utils']) var embedType = webPage.embed_type != 'iframe' ? webPage.embed_type || 'text/html' : 'text/html'; - var embedHtml = '<' + embedTag + ' src="' + encodeEntities(webPage.embed_url) + '" type="' + encodeEntities(embedType) + '" frameborder="0" border="0" webkitallowfullscreen mozallowfullscreen allowfullscreen width="' + full.width + '" height="' + full.height + '">'; + var embedHtml = '<' + embedTag + ' src="' + encodeEntities(webPage.embed_url) + '" type="' + encodeEntities(embedType) + '" frameborder="0" border="0" webkitallowfullscreen mozallowfullscreen allowfullscreen width="' + full.width + '" height="' + full.height + '" style="width: ' + full.width + 'px; height: ' + full.height + 'px;">'; full.html = $sce.trustAs('html', embedHtml); diff --git a/app/manifest.json b/app/manifest.json index d16ebc4a4..3caf0435c 100644 --- a/app/manifest.json +++ b/app/manifest.json @@ -14,7 +14,8 @@ "webview", {"fileSystem": ["write"]}, "storage", - "unlimitedStorage" + "unlimitedStorage", + "fullscreen" ], "icons": { "16": "img/icons/icon16.png",