-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(FEC-12562): Ignore ks configuration on kava plugin incase of ottA…
…nalytics exists on player (#574) * if kava && ottAnalytics exists remove the ks from kava plugin
- Loading branch information
Showing
10 changed files
with
65 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,7 +27,6 @@ | |
} catch (e) { | ||
console.error(e.message); | ||
} | ||
|
||
</script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
//@flow | ||
|
||
import {BasePluginConfigStore, templateRegex} from '../../common/plugins/plugins-config-store'; | ||
|
||
import {Utils} from '@playkit-js/playkit-js'; | ||
|
||
class PluginConfigStore extends BasePluginConfigStore { | ||
_ottPluginsConfig: {[pluginName: string]: Object} = { | ||
kava: { | ||
ks: '' | ||
} | ||
}; | ||
|
||
constructor() { | ||
super(); | ||
|
||
this._config = Utils.Object.mergeDeep({}, this._basePluginsConfig, this._ottPluginsConfig); | ||
} | ||
} | ||
|
||
export {PluginConfigStore, templateRegex}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
//@flow | ||
|
||
import {BasePluginConfigStore, templateRegex} from '../../common/plugins/plugins-config-store'; | ||
|
||
import {Utils} from '@playkit-js/playkit-js'; | ||
|
||
class PluginConfigStore extends BasePluginConfigStore { | ||
_ovpPluginsConfig: {[pluginName: string]: Object} = { | ||
ottAnalytics: {} | ||
}; | ||
|
||
constructor() { | ||
super(); | ||
|
||
this._config = Utils.Object.mergeDeep({}, this._basePluginsConfig, this._ovpPluginsConfig); | ||
} | ||
} | ||
|
||
export {PluginConfigStore, templateRegex}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
declare namespace KalturaPlayerTypes { | ||
export interface BaseMiddleware { | ||
callNext(next: Function): void; | ||
} | ||
export interface BaseMiddleware { | ||
callNext(next: Function): void; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
interface FakeEvent { | ||
type: string; | ||
type: string; | ||
} | ||
declare namespace KalturaPlayerTypes { | ||
export interface IEngineDecorator { | ||
dispatchEvent(event: FakeEvent): boolean; | ||
active: boolean; | ||
} | ||
export interface IEngineDecoratorProvider { | ||
getEngineDecorator(engine: any, dispatchEventHandler: Function): IEngineDecorator; | ||
} | ||
export interface IEngineDecorator { | ||
dispatchEvent(event: FakeEvent): boolean; | ||
active: boolean; | ||
} | ||
export interface IEngineDecoratorProvider { | ||
getEngineDecorator(engine: any, dispatchEventHandler: Function): IEngineDecorator; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters