-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(FEC-14000): Download plugins opens empty overlay while there are … (
#56) 1. remove flavors filter preventing audio files from being displayed 2. display an audio icon for audio files 3. display language as a description (instead of bitrate in video files) in audio files Resolves [FEC-14000](https://kaltura.atlassian.net/browse/FEC-14000), FEC-13915 FEC-13939 Related pr: kaltura/kaltura-player-js#805 kaltura/playkit-js-audio-player#27 kaltura/playkit-js-share#50 kaltura/playkit-js-transcript#205 [FEC-14000]: https://kaltura.atlassian.net/browse/FEC-14000?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ --------- Co-authored-by: JonathanTGold <jonathan.gold@86@gmail.com>
- Loading branch information
1 parent
556dc08
commit 4cb857a
Showing
9 changed files
with
187 additions
and
200 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,6 @@ body { | |
|
||
#player-placeholder { | ||
margin: 100px auto; | ||
max-width: 640px; | ||
max-width: 840px; | ||
aspect-ratio: 10 / 5.62; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,68 +1,67 @@ | ||
@import '~@playkit-js/playkit-js-ui'; | ||
@import '../../theme.scss'; | ||
|
||
.download-overlay { | ||
-webkit-backdrop-filter: blur(16px); | ||
backdrop-filter: blur(16px); | ||
background-color: rgba(0, 0, 0, .7); | ||
color: $tone-1-color; | ||
height: 100%; | ||
position: absolute; | ||
width: 100%; | ||
z-index: 2; | ||
display: flex; | ||
flex-direction: column; | ||
|
||
.header { | ||
font-size: 25px; | ||
font-weight: 700; | ||
margin-top: 48px; | ||
text-align: center; | ||
|
||
&.small, | ||
&.medium { | ||
font-size: 18px; | ||
} | ||
} | ||
.header { | ||
font-size: 32px; | ||
font-weight: 500; | ||
margin-top: 30px; | ||
width: 100%; | ||
display: flex; | ||
justify-content: center; | ||
} | ||
|
||
.file-info-list { | ||
margin: auto; | ||
margin-top: 25px; | ||
overflow: auto; | ||
height: 100%; | ||
width: 100%; | ||
:global(.playkit-size-sm), | ||
:global(.playkit-size-md), { | ||
.header { | ||
font-size: 20px; | ||
} | ||
} | ||
|
||
.sources-captions-container { | ||
margin-bottom: 24px; | ||
} | ||
|
||
@include download-scrollbar(); | ||
&:hover::-webkit-scrollbar-track, | ||
&:hover::-webkit-scrollbar-thumb, { | ||
visibility: visible; | ||
} | ||
.download-overlay { | ||
height: 100%; | ||
position: absolute; | ||
width: 100%; | ||
padding: 0 calc(100% / 9); | ||
overflow-y: auto; | ||
|
||
&.large { | ||
max-width: 600px; | ||
} | ||
@include download-scrollbar(); | ||
&:hover::-webkit-scrollbar-track, | ||
&:hover::-webkit-scrollbar-thumb { | ||
visibility: visible; | ||
} | ||
|
||
&.medium { | ||
max-width: calc(100% - 48px); | ||
} | ||
.file-info-list { | ||
margin: auto; | ||
margin-top: 25px; | ||
height: 100%; | ||
width: 100%; | ||
|
||
&.small { | ||
max-width: calc(100% - 16px); | ||
} | ||
.sources-captions-container { | ||
margin-bottom: 24px; | ||
} | ||
} | ||
} | ||
|
||
.close-button-container { | ||
position: absolute; | ||
top: 36px; | ||
right: 36px; | ||
:global(.playkit-player.playkit-size-lg), | ||
:global(.playkit-player.playkit-size-md), | ||
:global(.playkit-player.playkit-size-sm), | ||
:global(.playkit-player.playkit-size-xs), | ||
:global(.playkit-player.playkit-size-ty) { | ||
:global(.playkit-overlay.playkit-download-overlay) { | ||
:global(.playkit-close-overlay) { | ||
top: 15px !important; | ||
right: 15px !important; | ||
} | ||
|
||
&.small { | ||
top: 10px; | ||
right:10px; | ||
} | ||
:global(.playkit-overlay-contents) { | ||
padding: 0; | ||
background-color: rgba(0, 0, 0, 0.7); | ||
color: $tone-1-color; | ||
text-align: initial; | ||
overflow-y: initial; | ||
:global(.playkit-title) { | ||
margin: 0; | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.