mediacms/frontend
MrPercheul e7ae2833d9
Timestamp (#430)
* Test

Messing around to figure out docker and whatnot

* Revert "Test"

This reverts commit 43b76932c5.

* Update docker dev yaml

Update the docker to the environement with the latest version of selenium (and their new arguments), and to be on firefox

* Timestamp on play

Adds the a one time event that jumps to a timestamp if there is a t parameter in the URL

* Timestamp when sharing DRAFT

First draft to show the timestamp when sharing. Missing checkbox and appending the get param to shown link

* Checkbox and update share url

Checkbox show a clean timestamp and the media URL updates with the correct timestamp upon selection

* Cleaning before PR

removing un-necessary modified  files

* Clean up before PR - remove statics

* Timestamp in comments

Parse the comments to wrap timestamps with an appropriate anchor

* Forgotten comments and console.logs

* Last touch for PR

- Cleaning media.js for PR
- Using  MediaPageStore instead of window.location when wrapping the timestamp in comments

* Screenshot

Adding the screenshot for the user_docs

* PR amends

Amending VideoPlayer componnent to take check if the Get param 't' is a number, and to keep it within the duration of the video.
Required to change the listener from 'play' to 'loadedmetadata' to have access to the video duration (otherwise it was too early)

Also changed the User_doc file to inform users of the timestamp function
2022-03-23 17:38:02 +02:00
..
.vscode Frontent dev env (#247) 2021-07-11 18:01:34 +03:00
config Frontent dev env (#247) 2021-07-11 18:01:34 +03:00
packages Frontent dev env (#247) 2021-07-11 18:01:34 +03:00
src Timestamp (#430) 2022-03-23 17:38:02 +02:00
.babelrc Frontent dev env (#247) 2021-07-11 18:01:34 +03:00
.env Frontent dev env (#247) 2021-07-11 18:01:34 +03:00
.gitignore Frontent dev env (#247) 2021-07-11 18:01:34 +03:00
.prettierignore Frontent dev env (#247) 2021-07-11 18:01:34 +03:00
.prettierrc Frontent dev env (#247) 2021-07-11 18:01:34 +03:00
package-lock.json Frontent dev env (#247) 2021-07-11 18:01:34 +03:00
package.json Frontent dev env (#247) 2021-07-11 18:01:34 +03:00
README.md Frontent dev env (#247) 2021-07-11 18:01:34 +03:00
tsconfig.json Frontent dev env (#247) 2021-07-11 18:01:34 +03:00

MediaCMS Web Client (demo)

Requirements

  • nodejs: version >= 14.17.0

Installation

npm install

Development

npm run start

Open in browser: http://localhost:8088


Build

npm run dist

Generates the folder "frontend/dist".

Copy folders and files from "frontend/dist/static" into "static".