Skip to content

Commit

Permalink
Moved everything to root.
Browse files Browse the repository at this point in the history
Modified components to use inline templates and added relative paths to CSS styleUrl until angular2 issue angular/angular#2383 is solved.
Updated to Angular 2 Alpha 45.
  • Loading branch information
Elecash committed Nov 1, 2015
1 parent 1c806eb commit 9dcffa1
Show file tree
Hide file tree
Showing 116 changed files with 1,467 additions and 55 deletions.
File renamed without changes.
7 changes: 7 additions & 0 deletions api.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions api.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions api.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export * from './services/vg-api';
export * from './services/vg-fullscreen-api';
export * from './events/VgEvents';
15 changes: 15 additions & 0 deletions events/VgEvents.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
export declare class VgEvents {
static VG_CAN_PLAY: string;
static VG_CAN_PLAY_THROUGH: string;
static VG_LOADED_METADATA: string;
static VG_WAITING: string;
static VG_PROGRESS: string;
static VG_ENDED: string;
static VG_PLAYING: string;
static VG_PLAY: string;
static VG_PAUSE: string;
static VG_VOLUME_CHANGE: string;
static VG_PLAYBACK_CHANGE: string;
static VG_TIME_UPDATE: string;
static VG_ERROR: string;
}
20 changes: 20 additions & 0 deletions events/VgEvents.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions events/VgEvents.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
11 changes: 4 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,14 @@
"name": "videogular2",
"version": "2.0.0-alpha",
"description": "Videogular is a video application framework for desktop and mobile powered by Angular 2.0",
"main": "videogular2.js",
"typings": "./videogular2.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/videogular/videogular2"
},
"dependencies": {
"angular2": "2.0.0-alpha.44",
"es6-shim": "^0.33.6",
"systemjs": "0.18.4"
"angular2": "2.0.0-alpha.45"
},
"devDependencies": {
"del": "^1.1.1",
Expand All @@ -28,21 +27,19 @@
"typescript": "^1.6.2"
},
"scripts": {
"build": "./node_modules/.bin/gulp",
"dev": "./node_modules/.bin/gulp dev"
"prepublish": "tsc"
},
"engines": {
"node": ">=0.8.0"
},
"main": "gulpfile.js",
"keywords": [
"video",
"player",
"framework",
"angular2",
"javascript"
],
"author": "Raul Jimenez <[email protected]> (http://twofuckingdevelopers.com/)",
"author": "Raúl Jiménez <[email protected]> (http://twofuckingdevelopers.com/)",
"contributors": [
{
"name": "Alberto García",
Expand Down
File renamed without changes.
5 changes: 5 additions & 0 deletions player.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions player.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions player.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './vg-player/vg-player';
File renamed without changes.
13 changes: 13 additions & 0 deletions plugins.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions plugins.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions plugins.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
export * from './vg-controls/vg-controls';
export * from './vg-controls/vg-fullscreen/vg-fullscreen';
export * from './vg-controls/vg-mute/vg-mute';
export * from './vg-controls/vg-play-pause/vg-play-pause';
export * from './vg-controls/vg-playback-button/vg-playback-button';
export * from './vg-controls/vg-scrub-bar/vg-scrub-bar';
export * from './vg-controls/vg-scrub-bar/vg-scrub-bar-buffering-time/vg-scrub-bar-buffering-time';
export * from './vg-controls/vg-scrub-bar/vg-scrub-bar-current-time/vg-scrub-bar-current-time';

export * from './vg-overlay-play/vg-overlay-play';
42 changes: 42 additions & 0 deletions services/vg-api.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
export declare class VgAPI {
medias: Object;
videogularElement: Object;
constructor();
getDefaultMedia(): any;
getMediaById(id: string): any;
play(): void;
pause(): void;
duration: {};
state: {};
volume: {};
playbackRate: {};
canPlay: {};
canPlayThrough: {};
isMetadataLoaded: {};
isWaiting: {};
isCompleted: {};
time: {};
buffered: {};
seekTime(value?: number, byPercent?: boolean): void;
$$seek(media: HTMLVideoElement | HTMLAudioElement, value?: number, byPercent?: boolean): void;
$$getAllProperties(property: string): {};
$$setAllProperties(property: string, value: any): void;
registerElement(elem: HTMLElement): void;
registerMedia(media: HTMLVideoElement | HTMLAudioElement): void;
toggleFullscreen(element: any): void;
isFullscreen(): boolean;
connect(media: HTMLVideoElement | HTMLAudioElement): void;
onCanPlay(id: string): void;
onCanPlayThrough(id: string): void;
onLoadMetadata(id: string): void;
onWait(id: string): void;
onComplete(id: string): void;
onStartPlaying(id: string): void;
onPlay(id: string): void;
onPause(id: string): void;
onPlaybackChange(id: string, rate: string): void;
onTimeUpdate(id: string): void;
onProgress(id: string): void;
onVolumeChange(id: string): void;
onError(id: string): void;
}
Loading

0 comments on commit 9dcffa1

Please sign in to comment.