From 9734a41304fca9c8483cd83ba8507a6eafd252ad Mon Sep 17 00:00:00 2001 From: Igor Zhukov Date: Mon, 20 Apr 2015 13:59:34 +0300 Subject: [PATCH] Fixed chrome app --- app/js/services.js | 2 +- app/manifest.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/js/services.js b/app/js/services.js index 77578e88..14c3c2ce 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 d16ebc4a..3caf0435 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",