Minor codereview fixes.

This commit is contained in:
Dermot Duffy
2022-05-08 08:49:41 -07:00
parent 0f11a938fb
commit 00ba9bed4f
2 changed files with 4 additions and 3 deletions
+3 -2
View File
@@ -11,8 +11,9 @@ export type AutoMediaPluginOptionsType = {
playerSelector: string;
// Note: Neither play nor unmute will activate on selection. The caller is
// expected to call the methods manually when the media is actually loaded
// (not just the slide shown).
// expected to call the `play()` or `unmute()` methods manually when the media
// is actually loaded (and not just when the slide is visible -- the browser
// cannot play media that is not actually loaded yet, e.g. lazy loading).
autoPlayCondition?: AutoPlayCondition;
autoUnmuteCondition?: AutoUnmuteCondition;
autoPauseCondition?: AutoPauseCondition;