Refactor / Extend VideoOverlay Tutorial (ImageOverlay, SVGOverlay)Β #8085
Closed
Description
opened on Mar 26, 2022
ImageOverlay
and SVGOverlay
are not explained.
Change the VideoOverlay-Tutorial to following structure:
Rename the header.
Explain ImageOverlay
- The general explanaition can be used from
VideoOverlay
- If know-how available add a sample how to use different sources
- Explain that the option
interactive
is per defaultfalse
. This means that no mouse events are triggered. Can be changed withL.ImageOverlay(coords, {interactive: true})
- Sample with
errorOverlayUrl
option - Explain that it is import for accessibility to add a
alt
option.
Explain VideoOverlay
- Check if the existing
ImageOverlay
sections are still relevant - Explain the
playInline
option from 1.8. (Defaulttrue
) On iPhone, AddplaysInline
attribute on the video elementΒ #7928 - Explain On some browsers autoplay will only work with
muted: true
Explain SVGOverlay
Activity