Browse Source

Fixed chrome app

master
Igor Zhukov 9 years ago
parent
commit
9734a41304
  1. 2
      app/js/services.js
  2. 3
      app/manifest.json

2
app/js/services.js

@ -2931,7 +2931,7 @@ angular.module('myApp.services', ['myApp.i18n', 'izhukov.utils']) @@ -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);

3
app/manifest.json

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

Loading…
Cancel
Save