vidply 1.0.9 → 1.0.10

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/dist/vidply.css CHANGED
@@ -41,33 +41,32 @@
41
41
  --vidply-border-hover: var(--vidply-white-30);
42
42
  --vidply-border-light: var(--vidply-white-10);
43
43
  --vidply-focus-outline: 2px solid var(--vidply-primary);
44
- --vidply-focus-outline-white: 2px solid var(--vidply-primary-light);
45
44
  --vidply-focus-outline-player: 3px solid var(--vidply-primary-light);
45
+ --vidply-focus-outline-white: 2px solid var(--vidply-primary-light);
46
46
  --vidply-hover-bg: var(--vidply-white-10);
47
- --vidply-scrollbar-thumb: var(--vidply-white);
48
- --vidply-scrollbar-thumb-hover: var(--vidply-white-90);
49
- --vidply-scrollbar-track: #404040;
50
- --vidply-scrollbar-track-transcript: #555555;
51
- --vidply-transition-default: all 0.2s ease;
52
47
  --vidply-primary: #0a406e;
53
48
  --vidply-primary-10: rgb(var(--vidply-primary-rgb), 0.1);
54
49
  --vidply-primary-15: rgb(var(--vidply-primary-rgb), 0.15);
55
-
56
- /* Black Color Variations */
57
50
  --vidply-primary-20: rgb(var(--vidply-primary-rgb), 0.2);
58
51
  --vidply-primary-25: rgb(var(--vidply-primary-rgb), 0.25);
59
52
  --vidply-primary-30: rgb(var(--vidply-primary-rgb), 0.3);
60
53
  --vidply-primary-40: rgb(var(--vidply-primary-rgb), 0.4);
61
54
  --vidply-primary-50: rgb(var(--vidply-primary-rgb), 0.5);
55
+
56
+ /* Black Color Variations */
62
57
  --vidply-primary-60: rgb(var(--vidply-primary-rgb), 0.6);
63
58
  --vidply-primary-70: rgb(var(--vidply-primary-rgb), 0.7);
64
59
  --vidply-primary-80: rgb(var(--vidply-primary-rgb), 0.8);
65
60
  --vidply-primary-dark: #083358;
66
-
67
- /* UI Background Colors */
68
61
  --vidply-primary-dark-rgb: 8, 51, 88;
69
62
  --vidply-primary-light: #71b7e2;
70
63
  --vidply-primary-rgb: 10, 64, 110;
64
+ --vidply-scrollbar-thumb: var(--vidply-white);
65
+ --vidply-scrollbar-thumb-hover: var(--vidply-white-90);
66
+
67
+ /* UI Background Colors */
68
+ --vidply-scrollbar-track: #404040;
69
+ --vidply-scrollbar-track-transcript: #555;
71
70
  --vidply-shadow-lg: 0 12px 48px var(--vidply-black-80);
72
71
  --vidply-shadow-md: 0 4px 12px var(--vidply-black-40);
73
72
  --vidply-shadow-sm: 0 2px 4px var(--vidply-black-30);
@@ -76,6 +75,7 @@
76
75
  --vidply-text-primary: var(--vidply-white);
77
76
  --vidply-text-secondary: var(--vidply-white-90);
78
77
  --vidply-text-subtle: var(--vidply-white-50);
78
+ --vidply-transition-default: all 0.2s ease;
79
79
 
80
80
  /* Border Colors */
81
81
  --vidply-white: #fff;
@@ -199,6 +199,17 @@
199
199
  z-index: 1; /* Base video layer */
200
200
  }
201
201
 
202
+ .vidply-video-wrapper.vidply-forced-poster {
203
+ background-image: var(--vidply-poster-image);
204
+ background-position: center;
205
+ background-repeat: no-repeat;
206
+ background-size: cover;
207
+ }
208
+
209
+ .vidply-video-wrapper.vidply-forced-poster > video {
210
+ opacity: 0;
211
+ }
212
+
202
213
  /* Mobile: Simplify video wrapper */
203
214
  @media (width <= 640px) {
204
215
  .vidply-video-wrapper {
@@ -1578,7 +1589,7 @@
1578
1589
  flex-direction: column;
1579
1590
  max-width: 400px;
1580
1591
  order: 4; /* After video-wrapper (1), track-info (2), and playlist-panel (3) */
1581
- position: absolute;
1592
+ position: fixed;
1582
1593
  top: 0;
1583
1594
  width: 400px;
1584
1595
  z-index: 5;
@@ -1601,6 +1612,13 @@
1601
1612
  user-select: none;
1602
1613
  }
1603
1614
 
1615
+ .vidply-transcript-header:focus,
1616
+ .vidply-transcript-header:focus-visible {
1617
+ box-shadow: 0 0 0 4px rgb(91 144 255 / 35%);
1618
+ outline: 3px solid var(--vidply-primary-light);
1619
+ outline-offset: 2px;
1620
+ }
1621
+
1604
1622
  .vidply-transcript-header h3 {
1605
1623
  /* Visually hidden but accessible to screen readers */
1606
1624
  color: var(--vidply-white);
@@ -2081,6 +2099,22 @@
2081
2099
  z-index: 1000;
2082
2100
  }
2083
2101
 
2102
+ .vidply-transcript-resize-tooltip {
2103
+ animation: fadeInDown 0.3s ease;
2104
+ background: var(--vidply-primary);
2105
+ border-radius: 4px;
2106
+ color: var(--vidply-white);
2107
+ font-size: 12px;
2108
+ left: 50%;
2109
+ padding: 6px 12px;
2110
+ position: absolute;
2111
+ text-align: center;
2112
+ top: 100%;
2113
+ transform: translateX(-50%);
2114
+ white-space: nowrap;
2115
+ z-index: 1000;
2116
+ }
2117
+
2084
2118
  @keyframes fadeInDown {
2085
2119
  from {
2086
2120
  opacity: 0;
@@ -2293,9 +2327,8 @@
2293
2327
  .vidply-sign-language-wrapper {
2294
2328
  background: transparent;
2295
2329
  height: auto;
2296
- max-width: 400px;
2330
+ max-width: none;
2297
2331
  min-height: 100px;
2298
- min-width: 150px;
2299
2332
  position: absolute;
2300
2333
  transition: opacity 0.3s ease;
2301
2334
  width: 280px;
@@ -2303,7 +2336,7 @@
2303
2336
  }
2304
2337
 
2305
2338
  .vidply-fullscreen .vidply-sign-language-wrapper {
2306
- max-width: 600px;
2339
+ max-width: none;
2307
2340
  }
2308
2341
 
2309
2342
  .vidply-sign-language-wrapper:focus {