Skip to content

gianantoniopini/vite-vue-js-shaka-player

Repository files navigation

Vite Vue JS Shaka Player

A simple Vue application using Vite, JavaScript and Shaka Player

This project is intended as a basic example of how to integrate Shaka Player into a Vue application using Vite and JavaScript.

Table of Contents

Background

This project was inspired by shaka-player-vuejs, but uses a more modern tech stack with Shaka Player version 4 (instead of Shaka Player version 3), Vue 3 (instead of Vue 2) and Vite (instead of Vue CLI).

Features

You can select from a list of 6 videos and watch the chosen video.

All videos' files and images used in this project are sourced from Wikimedia Commons.

Prerequisites

This project requires Node.js and npm to be installed locally.

Install

Install dependencies:

npm install

Run dev

Start Vite dev server:

npm run dev

Build for production

Produce application bundle:

npm run build

Preview the production build:

npm run preview

License

MIT © Gianantonio Pini