@v360-tech/v360-player 1.4.14 → 1.4.15
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 +0 -3
- package/dist/v360-player.browser.js +1 -1
- package/dist/v360-player.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -72,7 +72,6 @@ import "@v360-tech/v360-player";
|
|
|
72
72
|
default-speed="1"
|
|
73
73
|
progress-bar-style="DualLayer"
|
|
74
74
|
background="dark"
|
|
75
|
-
aspect-ratio="16:9"
|
|
76
75
|
>
|
|
77
76
|
</v360-player>
|
|
78
77
|
```
|
|
@@ -92,14 +91,12 @@ import "@v360-tech/v360-player";
|
|
|
92
91
|
| `default-quality` | string | `"-1"` | Default HLS quality (-1 for auto) | `-1` or positive integer |
|
|
93
92
|
| `progress-bar-style` | string | `"none"` | Progress bar style variant | `"none"`, `"dual-layer"`, `"segments"`, `"minimal-wave"` |
|
|
94
93
|
| `background` | string | `dark` | Video background | `dark`, `light` |
|
|
95
|
-
| `aspect-ratio` | string | `"16:9"` | Aspect ratio of the player | Any valid ratio (e.g., `"16:9"`, `"4:3"`, `"1:1"`) |
|
|
96
94
|
|
|
97
95
|
## Build Types
|
|
98
96
|
|
|
99
97
|
This package provides two optimized builds:
|
|
100
98
|
|
|
101
99
|
1. **ES Module Build** (`v360-player.js`):
|
|
102
|
-
|
|
103
100
|
- For use with modern bundlers (Vite, Webpack, Rollup, etc.)
|
|
104
101
|
- External dependencies (hls.js, jquery) for better tree-shaking
|
|
105
102
|
- Smaller bundle size when used with bundlers
|
package/dist/v360-player.js
CHANGED
package/package.json
CHANGED