UNPKG

@liveryvideo/player

Version:

Livery video player for use in web browsers.

59 lines (35 loc) 1.36 kB
[@liveryvideo/player](../index.md) / LiveryLog # Class: LiveryLog Element defined as `<livery-log>` which shows entries logged by Livery modules and enables them to be copied to clipboard for reporting. The log copy will also include details from specified `player` or the first `<livery-player>` element found in the document. Note that entries logged before this element is connected to DOM will not be included. ## Example ```html <livery-player streamid="6613d164e4b0bf3ad645f3c6"></livery-player> <livery-log></livery-log> ``` ## Extends - `LitElement` ## Properties ### player > **player**: [`LiveryPlayer`](LiveryPlayer.md) Reference to specific LiveryPlayer element to show details from. If not specified this will default to the first `livery-player` element found in the document. If that is not found some of the information will be missing from the clipboard copy. ## Attributes ### maxLineLength > **maxLineLength**: `number` Number of characters after which to truncate displayed lines. TODO: Rename to maxDisplayLineLength. *** ### maxLines > **maxLines**: `number` Maximum number of log entries to display in this element. TODO: Rename to maxDisplayEntries. *** ### maxLogLines > **maxLogLines**: `number` Maximum number of log entries to keep in memory for copying to clipboard. TODO: Rename to maxClipboardEntries.