@playkit-js/kwebcast-ended-message
Version:
Allows administrators to configure a message that will will be displayed at the end of a kWebcast event.
27 lines (21 loc) • 619 B
text/typescript
const { RequestBuilder } = KalturaPlayer.providers;
interface Props {
entryId: string;
}
export class KWebcastMetadataLoader implements KalturaPlayerTypes.ILoader {
public requests: any[] = [];
public response: any = {};
constructor({ entryId }: Props) {
const metadataRequest = new RequestBuilder();
metadataRequest.service = 'metadata_metadata';
metadataRequest.action = 'list';
metadataRequest.params = {
'filter:objectIdEqual': entryId
};
this.requests.push(metadataRequest);
}
public static id = 'kwebcast-ended';
public isValid(): boolean {
return true;
}
}