unified-video-framework 1.4.334 → 1.4.336

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.
@@ -164,6 +164,11 @@ export class EmailAuthController {
164
164
  animation: uvfAuthSlideIn 0.3s ease-out;
165
165
  `;
166
166
 
167
+ // Prevent clicks inside modal from bubbling to overlay
168
+ modal.addEventListener('click', (e) => {
169
+ e.stopPropagation();
170
+ });
171
+
167
172
  // Add CSS animation keyframes
168
173
  if (!document.querySelector('#uvf-auth-styles')) {
169
174
  const style = document.createElement('style');
@@ -350,6 +355,8 @@ export class EmailAuthController {
350
355
  emailInput.type = 'email';
351
356
  emailInput.placeholder = this.config?.emailAuth?.ui?.emailPlaceholder || 'Enter your email';
352
357
  emailInput.className = 'uvf-auth-input';
358
+ emailInput.autocomplete = 'email';
359
+ emailInput.required = true;
353
360
  const placeholderColor = this.config?.emailAuth?.ui?.placeholderColor || 'rgba(255, 255, 255, 0.5)';
354
361
  emailInput.style.cssText = `
355
362
  width: 100%;
@@ -361,8 +368,9 @@ export class EmailAuthController {
361
368
  font-size: 16px;
362
369
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
363
370
  box-sizing: border-box;
371
+ outline: none;
364
372
  `;
365
-
373
+
366
374
  // Set placeholder color using CSS custom properties
367
375
  emailInput.style.setProperty('--placeholder-color', placeholderColor);
368
376
  emailInput.value = this.currentEmail;
@@ -108,6 +108,7 @@ export type WebPlayerViewProps = {
108
108
  defaultQuality?: number;
109
109
  enableAdaptiveBitrate?: boolean;
110
110
  debug?: boolean;
111
+ startTime?: number; // Start playback from this time in seconds (e.g., 125 for 2:05)
111
112
  freeDuration?: number;
112
113
 
113
114
  // Video Commerce configuration
@@ -949,6 +950,7 @@ export const WebPlayerView: React.FC<WebPlayerViewProps> = (props) => {
949
950
  defaultQuality: props.defaultQuality,
950
951
  enableAdaptiveBitrate: props.enableAdaptiveBitrate ?? true,
951
952
  debug: props.debug ?? false,
953
+ startTime: props.startTime,
952
954
  freeDuration: props.freeDuration,
953
955
  paywall: paywallCfg,
954
956
  customControls: props.customControls,