# Simple Example A minimal player with just the essential controls — play/pause, volume, time display, scrub bar, and fullscreen. No streaming, no chapters, no settings panel. See also: [Full-Featured Example](example-configuration.md) for every available component and feature. ```html ``` ```typescript import { addEvaIcons } from 'ez-vid-ang'; import { evaPlayIcon, evaPauseIcon, evaVolumeHighIcon, evaVolumeMediumIcon, evaVolumeLowIcon, evaVolumeMuteIcon, evaFullscreenIcon, evaFullscreenExitIcon } from 'ez-vid-ang/icons'; addEvaIcons({ evaPlayIcon, evaPauseIcon, evaVolumeHighIcon, evaVolumeMediumIcon, evaVolumeLowIcon, evaVolumeMuteIcon, evaFullscreenIcon, evaFullscreenExitIcon }); import { Component, signal, ChangeDetectionStrategy } from '@angular/core'; import { EvaBuffering, EvaControlsContainer, EvaControlsDivider, EvaErrorOverlay, EvaFullscreen, EvaMute, EvaOverlayPlay, EvaPlayer, EvaPlayPause, EvaScrubBar, EvaScrubBarBufferingTime, EvaScrubBarCurrentTime, EvaTimeDisplay, EvaUserInteractionEventsDirective, EvaVideoSource, EvaVolume, } from 'ez-vid-ang'; @Component({ selector: 'app-simple-player', templateUrl: './simple-player.html', styleUrl: './simple-player.scss', changeDetection: ChangeDetectionStrategy.OnPush, imports: [ EvaBuffering, EvaControlsContainer, EvaControlsDivider, EvaErrorOverlay, EvaFullscreen, EvaMute, EvaOverlayPlay, EvaPlayer, EvaPlayPause, EvaScrubBar, EvaScrubBarBufferingTime, EvaScrubBarCurrentTime, EvaTimeDisplay, EvaUserInteractionEventsDirective, EvaVolume, ], }) export class SimplePlayerComponent { protected readonly sources = signal([ { type: 'video/mp4', src: '/video.mp4' }, ]); } ``` ```scss :host { display: block; width: 100%; max-width: 800px; margin: 0 auto; } ```