From ebebbde45f0f864f96f2f435bc31b292213c494a Mon Sep 17 00:00:00 2001 From: mister-ben Date: Mon, 17 Jun 2024 23:31:11 +0200 Subject: [PATCH] add example --- sandbox/transient-button.html.example | 112 +++++++++++++--------- src/css/components/_transient-button.scss | 10 +- src/js/transient-button.js | 17 ++-- test/unit/transient-button.test.js | 89 +++++++++++++++++ 4 files changed, 168 insertions(+), 60 deletions(-) create mode 100644 test/unit/transient-button.test.js diff --git a/sandbox/transient-button.html.example b/sandbox/transient-button.html.example index b4b3f0a9f0..2006abb13d 100644 --- a/sandbox/transient-button.html.example +++ b/sandbox/transient-button.html.example @@ -5,35 +5,46 @@ Video.js Sandbox - - - - - - - - - - + + +
+

Transient button demo

+ + + + + + +
+

An unmute transient button will show after playback starts if muted.

+

+ Transient buttons to skip into / credits / recap display at times defined + in a metadata track. +