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

fix(FEC-11510): No default font size selected in cvaa #639

Merged
merged 2 commits into from
Sep 13, 2021

Conversation

SivanA-Kaltura
Copy link
Collaborator

@SivanA-Kaltura SivanA-Kaltura commented Sep 12, 2021

Description of the Changes

Use fontSize instead of fontScale.
Fixes FEC-11510.

Related PRs:
kaltura/playkit-js#603
kaltura/kaltura-player-js#491

CheckLists

  • changes have been done against master branch, and PR does not conflict
  • new unit / functional tests have been added (whenever applicable)
  • test are passing in local environment
  • Travis tests are passing (or test results are not worse than on master branch :))
  • Docs have been updated

@@ -62,9 +62,9 @@ class CustomCaptionsWindow extends Component {
const standardColors = player.TextStyle.StandardColors;

const fontScaleOptions = player.TextStyle.FontSizes.map(scale => ({
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
const fontScaleOptions = player.TextStyle.FontSizes.map(scale => ({
const fontSizeOptions = player.TextStyle.FontSizes.map(size => ({

@SivanA-Kaltura SivanA-Kaltura changed the title fix(FEC-11510): fix cvaa default font size fix(FEC-11510): No default font size selected in cvaa Sep 13, 2021
@SivanA-Kaltura SivanA-Kaltura merged commit c9ad30c into master Sep 13, 2021
@SivanA-Kaltura SivanA-Kaltura deleted the FEC-11510-fix-cvaa-default-font-size branch September 13, 2021 08:09
SivanA-Kaltura added a commit to kaltura/playkit-js that referenced this pull request Sep 13, 2021
Modify default font size to 100%.
Remove uses of fontScale and expose fontSize in API.

Fixes FEC-11510.

Related PRs:
kaltura/playkit-js-ui#639.
kaltura/kaltura-player-js#491
SivanA-Kaltura added a commit to kaltura/kaltura-player-js that referenced this pull request Sep 13, 2021
Remove references to fontScale to match changes in playkit-js.
Fixes FEC-11510.

Related PRs:
kaltura/playkit-js#603
kaltura/playkit-js-ui#639
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants