Skip to main content

The source provided could not be parsed as a value list

The following error message:

The source provided ([...]) could not be parsed as a value list.

can happen when the wrong syntax is passed to the FontFace API.

Older versions of Chrome do not support the FontFace syntax without quotes.

❌ Without quotes
src: url(font.woff2) format(woff2);
✅ With quotes
src: url('font.woff2') format('woff2');

To fix the issue, always include quotes.
Use @remotion/fonts to use an abstraction that helps you avoid this mistake.