Skip to content

Branding & theming

Light or dark theme for the PDF viewer.

pdf

Preview

Props & interactive options

Prop Type Default Description Try it
theme url param light Player theme: light or dark.
Browsers block autoplay with sound. Enabling auto_play automatically enables muted so playback can start; viewers can then unmute manually.

Documentation

Match the PDF viewer to the look of your site. Two built-in themes are available: Light (default) keeps the page background white for maximum legibility, and Dark swaps the chrome (toolbar, sidebar, background) to a dark surface — handy when the embed sits inside a dark page. Try the toggle above to preview each combination.

Code

HTML

Frequently asked questions

No — the document pages are always rendered with their original colours so the content stays faithful to the source. Only the viewer chrome (toolbar, sidebar, page background) follows the theme.

The two built-in themes cover most light/dark needs. For a fully branded experience you can set a custom primary_color in the embed URL or define a workspace-level theme in the Videas dashboard, which the viewer inherits.

Yes. Both themes follow WCAG AA contrast ratios on the chrome elements (toolbar text, controls). The page content keeps its original contrast so a viewer with specific accessibility needs should rely on browser-level inversion or the Windows / macOS system dark mode rather than the viewer theme.