Skip to main content
Version: Next

Resources

IReplayResourceType

Implementation.

import type { IReplayResourceType } from '@picsart/web-replay-sdk';
ValuesDescription
fontFont resources with mime types font/*
photoImage resources with mime types image/jpg, image/jpeg, image/png
svgSVG resource with mime type image/svg+xml
videoVideo resource with mime types video/mp4
audioAudio resource with mime types audio/mpeg

IReplayResource

Implementation.

import type { IReplayResource } from '@picsart/web-replay-sdk';
PropertyTypeRequiredDescription
idUUIDStringyesThe unique identifier for meta information
locationstringyesA web accessible URL that holds the resource
typeIReplayResourceTypeyesThe type of the media resource

IReplayFontResource

The interface is the same as IReplayResource with predefined font type

Implementation.

import type { IReplayFontResource } from '@picsart/web-replay-sdk';

IReplayPhotoResource

The interface is the same as IReplayResource with predefined photo type

Implementation.

import type { IReplayPhotoResource } from '@picsart/web-replay-sdk';

IReplaySvgResource

The interface is the same as IReplayResource with predefined svg type

Implementation.

import type { IReplaySvgResource } from '@picsart/web-replay-sdk';

IReplayVideoResource

The interface is the same as IReplayResource with predefined video type

Implementation.

import type { IReplayVideoResource } from '@picsart/web-replay-sdk';

IReplayAudioResource

The interface is the same as IReplayResource with predefined audio type

Implementation.

import type { IReplayAudioResource } from '@picsart/web-replay-sdk';