import { SvelteComponentTyped } from "svelte"; import { Environment } from '../internal/environment'; declare const __propDef: { props: { /** * * Media type * video | audio | hls * * @default video */ type?: string; /** * * Media source url * @default '' * */ src?: string; /** * * The MIME media type of the resource (optional). * Default video/mp4 (video) or audio/mp3 (audio) or application/x-mpegURL (hls) * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source#attr-type * */ srctype?: string; /** * * Poster source url * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video#attr-poster * @default '' * */ poster?: string; /** * * Caption source url (.vtt) * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/track#attr-src * @default '' * */ track?: string; /** * * Whether the player should automatically pause when another player starts/resumes playback. * @default true */ autopause?: boolean; /** * * Whether playback should automatically begin playing once the media is ready to do so. * @default false */ autoplay?: boolean; /** * * A double indicating the current playback (start) time in seconds. Default is `0` * @default 0 */ currenttime?: number; /** * * A double number in seconds force video to stop at the provided end time. * Default is `0` means video will play the entire duration from currenttime. * @default 0 */ endtime?: number; /** * * Whether the player is in debug mode and should `console.log` information about its internal state. * @default false */ debug?: boolean; /** * * Whether media should automatically start playing from the beginning every time it ends. * @default false */ loop?: boolean; /** * * Whether the audio is muted or not. * * @default false */ muted?: boolean; /** * * Click (or tap) of the video container will toggle play/pause. * * @default true */ clicktoplay?: boolean; /** * * Reset the playback to the start once playback is complete. * * @default false */ resetonend?: boolean; /** * * An `int` between `0` (silent) and `1` (loudest) indicating the audio volume. * @default 1 */ volume?: number; /** * * The time, in seconds, to seek when a user hits fast forward or rewind. * @default 10 */ seektime?: number; /** * * Force an aspect ratio for all videos. The format is 'w:h' - e.g. '16:9' or '4:3'. * If this is not specified then the default for HTML5 and Vimeo is to use the native * resolution of the video. As dimensions are not available from YouTube via SDK, * 16:9 is forced as a sensible default. * * @default '16:9' */ ratio?: string; /** * * Hide video controls automatically after 2s of no mouse or focus movement, * on control element blur (tab out), on playback start or entering fullscreen. * As soon as the mouse is moved, a control element is focused or playback * is paused, the controls reappear instantly. * * @default false */ hidecontrols?: boolean; /** * * `play`: Play/pause playback
* `current-time`: The current time of playback
* `duration`: The full duration of the media
* `progress`: The progress bar and scrubber for playback and buffering
* `captions`: Toggle captions
* `fullscreen`: Toggle fullscreen
* `volume`: Volume control
* `speed`: Playback speed control
* `navigation`: Left/Right navigation controls
* * @default 'play,play-large,current-time,duration,progress,captions,fullscreen,volume,speed,navigation' */ controls?: string; /** * * `type` is `video | audio` only. * `srclang` attribute of `` element * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/track#attr-srclang * @default en */ tracklang?: string; /** * * `type` is `video | audio` only. * `label` attribute of `` element * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/track#attr-srclang * * @default English */ tracklabel?: string; /** * * Vouch watermark size * * @default 12 */ watermarksize?: number; /** * Toggle Vouch watermark * * @default true */ showwatermark?: boolean; /** * The source for the logo image shown in the persona * * @default */ logosrc?: string; /** * Name of the person within the video */ name?: string; /** * Name of the company that the person in the video belongs to */ companyname?: string; /** * * The video keeps its aspect ratio and fills the given dimension. * The video will be clipped to fit. * * object-fit: cover * * @default false */ fitcover?: boolean; /** * * Embedded video player * * @default false * */ embed?: boolean; /** * Whether the media player preloads the video or not * * @default auto */ preload?: 'auto' | 'none'; /** * (Internal) * Google Analytics UTM parameters for watermark CTA * * @default '' * */ utm?: string; /** * (Internal) * Environment that we should be fetching from for all API requests * * @default prod */ env?: Environment; play?: () => void; pause?: () => void; }; events: { navigateback: CustomEvent; navigateforward: CustomEvent; } & { [evt: string]: CustomEvent; }; slots: {}; }; export type VouchMediaPlyrProps = typeof __propDef.props; export type VouchMediaPlyrEvents = typeof __propDef.events; export type VouchMediaPlyrSlots = typeof __propDef.slots; export default class VouchMediaPlyr extends SvelteComponentTyped { get play(): () => void; get pause(): () => void; } export {};