-
Notifications
You must be signed in to change notification settings - Fork 210
Commit
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
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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'; |
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; | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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", | ||
|
@@ -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", | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export * from './vg-player/vg-player'; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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'; |
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; | ||
} |