Wildhoney / ngVideo

Modularised ~13KB HTML5 audio/video implementation using Angular.js
http://ng-video.herokuapp.com/
MIT License
227 stars 57 forks source link

Using ngVideo in Cordova #31

Open ace007 opened 9 years ago

ace007 commented 9 years ago

Hi, I can't see any issues at the moment but it would be usefull if you could provide an initalise function that I can call rather than just initalise as the code is loaded. When using Cordova the page is ready only when the Cordova framework fires the "deviceready" event. At this point I can call any special initalisation functions, for angular I call angular.bootstrap rather than relying on the ngApp to auto bootstrap. See the cordova documentation here http://cordova.apache.org/docs/en/4.0.0/cordova_events_events.md.html#deviceready