Skip to content

Branding et thème

Light or dark theme for the PDF viewer.

pdf

Aperçu

Props & interactive options

Prop Type Défaut Description Essayer
theme url param light Player theme: light or dark.
Les navigateurs bloquent la lecture automatique avec le son. Activer auto_play active automatiquement muted pour permettre le démarrage ; le visiteur peut ensuite réactiver le son manuellement.

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

Questions fréquentes

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.