Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(FEC-10687): Allow partial config in setMedia API #394

Merged
merged 13 commits into from
Jan 24, 2021
9 changes: 6 additions & 3 deletions docs/advertisement-layout-management.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

With ad layout config you can create your own ad break timeline using your vast tags.
Ad break can be set as pre, mid and post rolls and each ad break can contain a single vast tag or multiple tags, either as a pod, but also as a [Waterfall](#waterfalling).

> **Important:** [IMA plugin](https://github.com/kaltura/playkit-js-ima) must be active to enable this feature.

## Table of Contents
Expand Down Expand Up @@ -305,6 +306,7 @@ kalturaPlayer.ads.playAdNow(
### Seekbar Cue Points

To display cue points on the seekbar to indicates the ad break positions use `showAdBreakCuePoint` option, as following:

```js
const config = {
...
Expand All @@ -326,6 +328,7 @@ const config = {
```

To customize the cue points style use `adBreakCuePointStyle` option. for example:

```js
const config = {
...
Expand All @@ -337,8 +340,8 @@ const config = {
adBreakCuePointStyle: {
marker: {
width: 10,
color: 'rgb(255, 0, 0)'
}
color: 'rgb(255, 0, 0)'
}
},
adBreaks: [{
position: 60,
Expand All @@ -352,4 +355,4 @@ const config = {
}
```

All style options are listed [here](https://github.com/kaltura/playkit-js-timeline/blob/main/docs/types.md#cuepointoptionsobject).
All style options are listed [here](https://github.com/kaltura/playkit-js-timeline/blob/main/docs/types.md#cuepointoptionsobject).
Loading