Fixed chrome app
This commit is contained in:
parent
6a786419a8
commit
9734a41304
@ -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);
|
||||
|
||||
|
@ -14,7 +14,8 @@
|
||||
"webview",
|
||||
{"fileSystem": ["write"]},
|
||||
"storage",
|
||||
"unlimitedStorage"
|
||||
"unlimitedStorage",
|
||||
"fullscreen"
|
||||
],
|
||||
"icons": {
|
||||
"16": "img/icons/icon16.png",
|
||||
|
Loading…
x
Reference in New Issue
Block a user