An in-sync collaborative media player built using FluidFramework
This example is a collaborative media player. We used Fluid distributed data structures to store and synchronize the media play. We also built a website that loads and renders the Fluid Container.
To run this follow the steps below:
- Run
npm install
from the sudoku folder root - Run
npm run start
to start both the client and server - Navigate to
http://localhost:8080
in a browser tab - Copy full URL, including hash id, to a new tab for collaboration
This example uses the react-player npm package by Pete Cook (https://github.com/cookpete).
npm run build
Runs tsc
and webpack
and outputs the results in ./dist
.
npm run start
Runs both start:client
and start:server
.
npm run start:all
Uses webpack-dev-server
to start a local webserver that will host your webpack file.
Once you run start
you can navigate to http://localhost:8080
in any browser window to use your fluid example.
The Tinylicious Fluid server must be running. See
start:server
below.
npm run start:server
Starts an instance of the Tinylicious Fluid server running locally at http://localhost:3000
.
Tinylicious only needs to be running once on a machine and can support multiple examples.
Compiles the TypeScript code. Output is written to the ./dist
folder.
Compiles and webpacks the TypeScript code. Output is written to the ./dist
folder.
Now run npm start
again and notice that your selected cell is now highlighted on the other side.
TBD