Skip to content

Commit

Permalink
revert ui
Browse files Browse the repository at this point in the history
  • Loading branch information
shiyiya authored Aug 1, 2024
1 parent 34935dc commit d60f37b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

## Feature

- **Streaming** - support for [hls.js](https://oplayer.vercel.app/hls), [flv,mpegts](https://oplayer.vercel.app/mpegts), [dash.js](https://oplayer.vercel.app/dash), [webtorrent](https://oplayer.vercel.app/torrent) and any other custom streaming playback
- **Streaming** - support for [hls.js](https://oplayer.vercel.app/docs/hls), [flv,mpegts](https://oplayer.vercel.app/docs/mpegts), [dash.js](https://oplayer.vercel.app/docs/dash), [webtorrent](https://oplayer.vercel.app/docs/torrent) and any other custom streaming playback
- **Fullscreen** - supports native fullscreen with fallback to "full window" modes
- **Shortcuts** - supports keyboard shortcuts
- **Picture-in-Picture** - supports picture-in-picture mode
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@oplayer/ui",
"version": "1.3.3-beta.4",
"version": "1.3.3-beta.5",
"description": "ui plugin for oplayer",
"type": "module",
"main": "./dist/index.es.js",
Expand Down
5 changes: 0 additions & 5 deletions packages/ui/src/style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,6 @@ export const root = (config: UiConfig) => {
'--shadow-background-color': 'rgba(28 ,28 ,28 , .9)',
'--control-bar-height': config.theme!.controller?.display ? '2.5em' : 0,

// fix tailwindcss
[`& .${loading}:before, & .${loading}:after`]: {
'--primary-color': `${config.theme!.primaryColor}`,
},

position: 'absolute',
top: '0',
left: '0',
Expand Down

0 comments on commit d60f37b

Please sign in to comment.