Skip to content

SRGSSR/pillarbox-web-demo

Repository files navigation

Pillarbox-web Demo

Pillarbox logo

This is a demo application for the pillarbox-web, a web SDK that extends the functionality of video.js. You can use this demo to see how pillarbox-web works and how to integrate it into your own web projects.

The latest demo build is also accessible here: https://demo.pillarbox.ch

Requirements

To run this demo, you need to have the following installed on your system:

  • Node.js

Quick start

To run this demo locally, clone this repository:

git clone https://github.com/SRGSSR/pillarbox-web-demo.git

Install the dependencies:

npm install

Start the development server:

npm run start

Open your browser and go to http://localhost:9696

You should see a web page with a video player that uses pillarbox-web. You can play around with the player settings and see how they affect the player behavior and appearance.

Contributing

If you want to contribute to this demo, you are welcome to do so. Please follow the code style and linting rules defined in this project. You can use the following commands to check and fix your code:

Check your javascript code:

npm run eslint

Check your CSS and SCSS code:

npm run stylelint

Fix your CSS and SCSS code:

npm run stylelint:fix

This project also has a pre-commit hook that runs the linting check automatically before you commit your changes. You can enable this hook by running the prepare script: npm run prepare.

Before submitting a pull request, please make sure that your code builds successfully. You can use the following commands to build the project:

npm run build

Please take note of our Contribution Guide.

Licensing

This project is licensed under the MIT License. See the LICENSE file for more details.

About

Demo application for the pillarbox-web

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published