This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The fillLightMode read-only property of the PhotoCapabilities interface returns an array of available fill light options. Options may include auto, off, or flash.


var lightModes[] = photoCapabilities.fillLightMode


An array of available fill light modes.


Specification Status Comment
MediaStream Image Capture
The definition of 'fillLightMode' in that specification.
Working Draft Initial definition.

Browser Compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support59 ? ? ?46 ?
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support5959 ? ?46 ? ?

Document Tags and Contributors

Contributors to this page: fscholz, Dramloc, jpmedley
Last updated by: fscholz,