@scarlett-player/embed 1.5.0 → 1.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -351,7 +351,7 @@ When `data-keyboard` is enabled (default):
351
351
  - `Space` / `K` - Play/Pause
352
352
  - `M` - Mute/Unmute
353
353
  - `F` - Fullscreen
354
- - `←` / `→` - Seek -5s / +5s
354
+ - `<-` / `->` - Seek -5s / +5s
355
355
  - `↑` / `↓` - Volume +10% / -10%
356
356
 
357
357
  ## Examples
@@ -180,8 +180,8 @@ class StateManager {
180
180
  * Register a state key at runtime, for state a plugin owns.
181
181
  *
182
182
  * Core cannot know every plugin's keys, and {@link get} deliberately throws
183
- * for unregistered ones that throw is a useful typo-catcher and is worth
184
- * keeping so a plugin declares its keys before first use.
183
+ * for unregistered ones - that throw is a useful typo-catcher and is worth
184
+ * keeping - so a plugin declares its keys before first use.
185
185
  *
186
186
  * Idempotent by design: re-defining an existing key leaves the current value
187
187
  * untouched. Plugins commonly re-run setup after a source change, and that
@@ -1259,7 +1259,7 @@ class PluginAPI {
1259
1259
  /**
1260
1260
  * Register a state key this plugin owns, before first use.
1261
1261
  *
1262
- * Idempotent re-defining an existing key keeps its current value.
1262
+ * Idempotent - re-defining an existing key keeps its current value.
1263
1263
  * See {@link IPluginAPI.defineState}.
1264
1264
  *
1265
1265
  * @param key - State property key
@@ -4062,7 +4062,7 @@ function createAudioUIPlugin(config) {
4062
4062
  if (layout === "mini") {
4063
4063
  const wrapper = titleEl.parentElement;
4064
4064
  if (wrapper && titleEl.scrollWidth > wrapper.clientWidth) {
4065
- titleEl.textContent = `${title} ${title} `;
4065
+ titleEl.textContent = `${title} - ${title} - `;
4066
4066
  titleEl.classList.add("scrolling");
4067
4067
  } else {
4068
4068
  titleEl.classList.remove("scrolling");