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

feat(FEC-13944): share and embed plugin to take player ratio to embed code #784

Merged
merged 3 commits into from
May 27, 2024

Conversation

lianbenjamin
Copy link
Contributor

@lianbenjamin lianbenjamin commented May 26, 2024

Description of the Changes

enhancement

take width and height from __kalturaplayerdata.uiConfData and evaluate them on share config.

Resolves FEC-13944

SivanA-Kaltura
SivanA-Kaltura previously approved these changes May 26, 2024
@lianbenjamin lianbenjamin merged commit 4d775e2 into master May 27, 2024
11 checks passed
lianbenjamin added a commit to kaltura/playkit-js-share that referenced this pull request May 27, 2024
… code (#46)

### Description of the Changes

**enhancement**

- change the default values of the embed template to `{width}` and
`{height}` as placeholders
- when getting the embed url, replace the placeholders with values from
the uiconf data

related PR: kaltura/kaltura-player-js#784

Solves FEC-13944

### 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
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