README.md
September 6, 2022 · View on GitHub
Ionic/Angular VideoPlayer App Starter
angular-sqlite-app-starter
Ionic/Angular application demonstrating the use of the
capacitor-video-player
this app uses Capacitor 4
Maintainers
| Maintainer | GitHub | Social |
|---|---|---|
| Quéau Jean Pierre | jepiqueau |
Installation
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
Running the app
BROWSER
npx cap serve
IOS
npx cap open ios
ANDROID
npx cap open android
ELECTRON
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
Contributors ✨
Thanks goes to these wonderful people (emoji key):
Jean Pierre Quéau 💻 |
This project follows the all-contributors specification. Contributions of any kind welcome!