Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DE-7017: Generic fixes #36

Closed
wants to merge 26 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
fc51d73
App: Move index.html to root folder
fingerartur Apr 7, 2024
b89ad11
App: Add mux.js to support HLS playback
fingerartur Apr 7, 2024
beb08e5
Add prepack script
fingerartur Apr 7, 2024
6cec87c
ADD `controlsVisibility` to base theme
fingerartur Apr 7, 2024
c33eddc
ADD the option to hide UI controls
fingerartur Apr 7, 2024
611b41a
ESlint: disable a miss-reported rule
fingerartur Apr 7, 2024
79d2919
FIX rounding of duration
fingerartur Apr 7, 2024
664bb58
Extract disposer type
fingerartur Apr 7, 2024
b600625
Base theme make configurable: audio controls, full screen button, tra…
fingerartur Apr 7, 2024
62615b4
Refactor
fingerartur Apr 7, 2024
8547906
Refactor: Get rid of unnecessary private annotations
fingerartur Apr 7, 2024
359a8e2
Make `presto` context attribute nullable
fingerartur Apr 7, 2024
8cbecbe
Refactor listeners to PRESTOplay instance
fingerartur Apr 7, 2024
e4649f3
lint
fingerartur Apr 7, 2024
798efd8
Fix context filter
fingerartur Apr 8, 2024
b485716
ADD support for UI cues (so far empty)
fingerartur Apr 8, 2024
bd006a1
Support gold seek bar color
fingerartur Apr 8, 2024
9362d8c
ADD renderBottomCompanion, showInterstitialMarkers, showSeekBarCues t…
fingerartur Apr 8, 2024
89fa42f
Add last playback state to player
fingerartur Apr 8, 2024
561371c
Player: store and check last playback state
fingerartur Apr 8, 2024
db41ad9
Player: support ignore of state 'ended'
fingerartur Apr 8, 2024
ee9074d
Player protected methods
fingerartur Apr 8, 2024
f68c983
Add safe z-index to ui-overlay
fingerartur Apr 8, 2024
d3310e3
Support cues
fingerartur Apr 8, 2024
055976d
Fix presto listeners
fingerartur Apr 8, 2024
f0be44f
changelog
fingerartur Apr 8, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ module.exports = {
// <div onClick={(event: React.MouseEvent<HTMLButtonElement>) => event.altKey}}/>
"@typescript-eslint/no-unsafe-call": "off",
"@typescript-eslint/no-unsafe-member-access": "off",
"@typescript-eslint/no-unsafe-assignment": "off",
},
overrides: [
{
Expand Down
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# 0.8.3 (Beta)

## New Features

* Add option to keep player controls hidden.
* Make `BaseThemeOverlay` more configurable:
* Add option to hide buttons (audio, full screen, track options)
* Add option to hide the top bar of player controls
* Add option to render a companion component above the bottom bar
of player controls
* Add option to display cues on the seek bar

## Fixes

* Fix rounding of duration.

# 0.7.3 (Beta)

## Fixes
Expand Down
16 changes: 16 additions & 0 deletions app/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/[email protected]/dist/mux.js"></script>
<title>PRESTOplay React Components</title>
</head>
<body>
<noscript>
You need to enable JavaScript to run this app.
</noscript>
<div id="root"></div>
<script src="./dist/bundle.js"></script>
</body>
</html>
15 changes: 0 additions & 15 deletions app/src/index.html

This file was deleted.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
"test:watch": "jest --watch",
"lint": "npx eslint .",
"storybook": "storybook dev --port 6006",
"build-storybook": "storybook build --output-dir ./dist/storybook"
"build-storybook": "storybook build --output-dir ./dist/storybook",
"prepack": "npm run build"
},
"license": "Apache-2.0",
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion scripts/rollup.config.app.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const options = [
open: true,
verbose: true,
contentBase: ["", "app", "app/src"],
host: "0.0.0.0",
host: "localhost",
port: "3000",
}),
livereload({
Expand Down
Loading
Loading