Fixed chrome app

This commit is contained in:
Igor Zhukov 2015-04-20 13:59:34 +03:00
parent 6a786419a8
commit 9734a41304
2 changed files with 3 additions and 2 deletions

View File

@ -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 + '"></' + embedTag + '>';
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;"></' + embedTag + '>';
full.html = $sce.trustAs('html', embedHtml);

View File

@ -14,7 +14,8 @@
"webview",
{"fileSystem": ["write"]},
"storage",
"unlimitedStorage"
"unlimitedStorage",
"fullscreen"
],
"icons": {
"16": "img/icons/icon16.png",