diff --git a/README.md b/README.md index 3a331d3..bf36cae 100644 --- a/README.md +++ b/README.md @@ -44,10 +44,10 @@ export class AppModule { } ``` -If you only want to use [FacebookService](https://zyramedia.github.io/ng2-facebook-sdk/FacebookService) only, without using the other components, then you can import it in your app's module instead of `FacebookModule`. +If you only want to use [FacebookService](https://zyramedia.github.io/ng2-facebook-sdk/facebook-service) only, without using the other components, then you can import it in your app's module instead of `FacebookModule`. #### 4. Inject `FacebookService` and call the `init` method (optional): -This method must be called before using [`login`](http://zyramedia.github.io/ng2-facebook-sdk/FacebookService/#login) or [`api`](http://zyramedia.github.io/ng2-facebook-sdk/FacebookService/#api) methods. It is not required for other methods/components. +This method must be called before using [`login`](http://zyramedia.github.io/ng2-facebook-sdk/facebook-service/#login) or [`api`](http://zyramedia.github.io/ng2-facebook-sdk/facebook-service/#api) methods. It is not required for other methods/components. ```typescript import { FacebookService, InitParams } from 'ng2-facebook-sdk'; @@ -80,8 +80,7 @@ You can view complete and detailed documentation by visiting https://zyramedia.g ## Example Usage -You can view our example project here: https://zyramedia.github.io/ng2-facebook-sdk-example/ -and/or view its source code here: https://github.com/zyramedia/ng2-facebook-sdk-example/ +You can view our [example project here](https://zyramedia.github.io/ng2-facebook-sdk-example/) and/or view its [source code here](https://github.com/zyramedia/ng2-facebook-sdk-example/)

@@ -146,7 +145,7 @@ share(url: string) { #### Advanced video component usage: ```html - + ``` ```typescript import { Component, ViewChild } from '@angular/core'; @@ -163,10 +162,6 @@ export class MyComponent { this.video.getVolume(); } - onVideoStartPlaying(ev: any) { - console.log('User started playing video'): - } - onVideoPaused(ev: any) { console.log('User paused the video'); } diff --git a/src/components/fb-video/fb-video.ts b/src/components/fb-video/fb-video.ts index 40e13e6..8b9caec 100644 --- a/src/components/fb-video/fb-video.ts +++ b/src/components/fb-video/fb-video.ts @@ -13,7 +13,7 @@ declare var FB: any; * * * - * + * * ``` * * To manually interact with the video player, fetch it using `ViewChild`.