Skip to content

Commit 613639c

Browse files
committed
Initial commit
0 parents  commit 613639c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+7900
-0
lines changed

.github/workflows/npm-publish.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
2+
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
3+
4+
name: Node.js Package
5+
6+
on:
7+
release:
8+
types: [created]
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
- uses: actions/setup-node@v4
16+
with:
17+
node-version: 20
18+
- run: npm ci
19+
20+
publish-npm:
21+
needs: build
22+
runs-on: ubuntu-latest
23+
steps:
24+
- uses: actions/checkout@v4
25+
- uses: actions/setup-node@v4
26+
with:
27+
node-version: 20
28+
registry-url: https://registry.npmjs.org/
29+
- run: npm ci
30+
- run: npm run build
31+
- run: npm publish --access public
32+
env:
33+
NODE_AUTH_TOKEN: ${{secrets.npm_publish_token}}

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
node_modules
2+
dist
3+
/.cache
4+
**/.DS_Store
5+
/test

.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*

.prettierrc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"tabWidth": 2,
3+
"semi": true,
4+
"singleQuote": false,
5+
"trailingComma": "es5",
6+
"printWidth": 80
7+
}

CHANGELOG.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
## [1.0.0]
6+
7+
### Initial Release:
8+
9+
- **Playback**: Introduced basic video playback functionality.
10+
- **Signed Playback**: Enabled secure signed playback options.
11+
- **Stream Types**: Added support for various stream types.
12+
- **Responsiveness**: Ensured responsive design for different devices.
13+
- **Error Handling**: Implemented robust error handling mechanisms.
14+
- **Customizability**: Provided extensive customization options for users.
15+
- **Keyboard Accessibility Controls**: Added keyboard shortcuts for better accessibility.
16+
- **Lazy Loading**: Implemented lazy loading for improved performance.
17+
- **Chapters**: Enabled chapter functionality for video navigation.
18+
- **Script Support for Video Events:**: Added support for listening to video events via scripts.
19+
- **Poster customizations**: Allowed customization of video posters.
20+
- **Thumbnail Customization**: Enabled custom thumbnails for videos.
21+
- **Forward and Rewind Playback Customizations:**: Provided options for customizable forward and rewind playback.
22+
- **Playback Rates**: Allowed adjustment of playback rates.
23+
- **Styling Options**: Added various styling options for UI elements.
24+
- **Volume Management**: Implemented advanced volume control features.
25+
- **Subtitle Switching**: Enabled switching between available subtitles.
26+
- **Audio Track Switching:**: Allowed switching between different audio tracks.
27+
- **Thumbnail Hover Previews**: Introduced thumbnail previews on hover.
28+
- **Customizing Time Display**: Allowed customization of time display formats.
29+
- **Start Time**: Implemented functionality to set a specific start time for playback.
30+
- **Placeholder**: Added placeholder support for loading states.
31+
- **offline/online control**: Provided control mechanisms for offline/online scenarios.
32+
- **Title Display**: Implemented title display options for videos.
33+
- **Overriding Default Behaviors**: Allowed users to override default player behaviors.
34+
- **Data Metrics Integration**: Added **Quality of Experience (QoE) scoring** in the FastPix dashboard, allowing users to monitor streaming quality.
35+
- **Enable Cache Busting (Beta)**: Introduced an experimental **cache-busting** feature to ensure that when tracks are added dynamically, the player checks for an updated manifest.

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2025 FastPix, Inc
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)