angular-sqlite-app-starter
Ionic/Angular application demonstrating the use of the
capacitor-video-player
this app uses Capacitor 4
Maintainer | GitHub | Social |
---|---|---|
Quéau Jean Pierre | jepiqueau |
To start clone the project
git clone https://github.com/jepiqueau/angular-videoplayer-app-starter.git
cd angular-videoplayer-app-starter
git remote rm origin
npm install
To install the latest release of the capacitor-video-player
plugin.
npm run update
npx cap update
npm run build
npx cap copy
npx cap copy web
npx cap serve
npx cap open ios
npx cap open android
You must update the electron/src/setup.ts as followed:
...
'Content-Security-Policy': [
electronIsDev
? `default-src ${customScheme}://* 'unsafe-inline' devtools://* 'unsafe-eval' data:;
media-src ${customScheme}: https://* blob: data:; connect-src ${customScheme}: https://* http://www.w3.org/2000/svg data:; worker-src blob:`
: `default-src ${customScheme}://* 'unsafe-inline' data:`,
],
...
npx cap open @capacitor-community/electron
Thanks goes to these wonderful people (emoji key):
Jean Pierre Quéau 💻 |
This project follows the all-contributors specification. Contributions of any kind welcome!