---
title: overlayDocument
framework: tvmljs
role: symbol
role_heading: Instance Property
path: tvmljs/player/1627320-overlaydocument
---

# overlayDocument

The annotations for a video created by placing a DOM document over the video.

## Declaration

```data
attribute Document overlayDocument;
```

## Discussion

Discussion Create a DOM document using the divTemplate and assign it to the overlayDocument property. Set this attribute to null to remove the current overlay document.

## See Also

### Setting Up the Player

- [interactiveOverlayDismissable](tvmljs/player/2123044-interactiveoverlaydismissable.md)
- [interactiveOverlayDocument](tvmljs/player/2123043-interactiveoverlaydocument.md)
- [Player](tvmljs/player/1627447-player.md)
- [playlist](tvmljs/player/1627389-playlist.md)
- [present](tvmljs/player/1627418-present.md)
