我不能在 phonegap 中包含视频服务。如果我取消 'com.2sdevs.videogular',该应用程序将无法运行。其他人有这个问题吗?
var app = angular.module('myApp', ['ui.bootstrap',
'ngResource',
'ngRoute',
//'com.2fdevs.videogular',
'ui.calendar',
'ui.utils',
'ui.sortable',
'ngStorage',
'googlechart'],
function ($compileProvider) {
$compileProvider.aHrefSanitizationWhitelist(/^\s*(https?|webcal|mailto):/);
}
);
我在 index.html 中包含 JS 文件:
<script src="vendor/videogular/0.3.0/app/scripts/com/2fdevs/videogular/videogular.js"></script>
JS 在那个目录中。提前致谢。
我知道这并没有提供更多信息。如果有更好的方法来获取控制台消息,请告诉我。我尝试从 Safari 进行开发,但我可以启动控制台,直到应用程序加载到模拟器中,我认为这是在加载期间发生的。
这是带有 com.2fdevs.videogular 的 system.log:Sep 14 10:44:41 Matts-MacBook-Pro.local AngGap[3254]:
Started backup to iCloud! Please be careful.
Your application might rejected by Apple if you store too much data.
For more information please read "iOS Data Storage Guidelines"
You could find it at the following address https://developer.apple.com/icloud/documentation/data- storage/ .
Sep 14 10:44:43 Matts-MacBook-Pro.local backboardd[96900] <Warning>: CoreAnimation: timed out fence 9c03
Sep 14 10:44:43 Matts-MacBook-Pro.local backboardd[96900] <Warning>: CoreAnimation: updates deferred for too long
Sep 14 10:44:44 Matts-MacBook-Pro.local AngGap[3254] <Warning>: Resetting plugins due to page load.
Sep 14 10:44:45 Matts-MacBook-Pro.local AngGap[3254] <Warning>: Finished load of: file:///Users/matt/Library/Application%20Support/iPhone%20Simulator/7.1/Applications/F11B5DC0-4490-43F6-8E5F-8FDBED320318/AngGap.app/www/index.html#/