Echoes is a great youtube player developed by Oren Farhi. It's fun & easy to listen or watch videos from youtube with Echoes. What if youtube was designed to be used as music player? This repository is an implementation of Echoes Player with Angular (2nd genration)- It's still a work in progress aimed at learning and experimenting Angular (2nd generation).
Echoes Player is also available as a Chrome Application
It can be regarded as the Media Player experience for youtube listening pleasure.
This project was generated with Angular CLI
npm start for a dev server. Navigate to
http://localhost:4200/. The app will automatically reload if you change any of the source files.
ng generate component component-name to generate a new component. You can also use
ng generate directive/pipe/service/class/module.
npm run build to build the project. The build artifacts will be stored in the
dist/ directory. Use the
-prod flag for a production build.
npm run build:prod to build the project minified for production with AOT.
Echoes use environment variables to integrate Google Analytics, youtube data api key and youtube client id for authorization. These defiend as template variables, and are replaced after a successfull build with build-env.js.
Generate your own keys via google's console
Required Keys are:
OAuth client ID
The key is the project ID usually can be retreived from the analytics Admin interface. it exist as part of the "script" to paste in your html file.
npm test to execute the unit tests via Karma.
npm run test:ci to execute the unit tests only Once
npm run e2e to execute the end-to-end tests via Protractor.
Before running the tests make sure you are serving the app via
To get more help on the Angular CLI use
ng help or go check out the Angular CLI README.
npm i source-map-explorer -g
ng build --prod --aot --sm(the sourcemap is for later steps)
cd dist && source-map-explorer A-FILE-WITH-HASH.js