Skip to content
项目

关于

Echoes Player:为 YouTube 补上的媒体播放器体验。使用 Angular (9)、ngrx (9)、Angular CLI、Boostrap (SASS) 和 Youtube api 构建。

网站与应用开发

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
-1
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Build Status Netlify Status Code Climate

Join Echoes Slack Channel

Echoes Player - Angular Version (2nd Generation)

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.

Webpack, Angular, ngrx, bootstrap

Angular Consulting Services at Orizens

I'm a Senior Javascript Engineer & A Front End Consultant. My services include:

  • consulting to companies and startups on how to approach code in their projects and keep it maintainable.
  • I provide project bootstrapping and development - while afterwards, I integrate it on site and guide the team on it.

Contact Me Here

Webpack and Angular

Tech Stack

Included @ngrx solutions:

Included Technologies & Libraries

EchoesPlayer

This project was generated with Angular CLI

Development server

Run npm start for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive/pipe/service/class/module.

Build

Run 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.

Build for Production

Run npm run build:prod to build the project minified for production with AOT.

Configure api keys

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.

Youtube Keys

Generate your own keys via google's console Required Keys are:
API Key
OAuth client ID

Analytics Key (Optional)

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.

Running unit tests

Run npm test to execute the unit tests via Karma.
Run npm run test:ci to execute the unit tests only Once

Running end-to-end tests

Run npm run e2e to execute the end-to-end tests via Protractor. Before running the tests make sure you are serving the app via ng serve.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

Bundle analyze explorer

look at issue

  1. make sure npm i source-map-explorer -g
  2. ng build --prod --aot --sm (the sourcemap is for later steps)
  3. cd dist && source-map-explorer A-FILE-WITH-HASH.js

探索相关项目

加载中…