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-9237): add app protocol for kava plugin #43

Merged
merged 5 commits into from
Jul 21, 2019
Merged

fix(FEC-9237): add app protocol for kava plugin #43

merged 5 commits into from
Jul 21, 2019

Conversation

Yuvalke
Copy link
Contributor

@Yuvalke Yuvalke commented Jul 21, 2019

Description of the Changes

add protocol for plugin for Samsung Smart TV bug

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

add protocol for plugin for Samsung Smart TV
@Yuvalke Yuvalke requested a review from OrenMe July 21, 2019 07:07
@Yuvalke Yuvalke self-assigned this Jul 21, 2019
src/kava.js Outdated
@@ -76,7 +77,7 @@ class Kava extends BasePlugin {
bufferTimeSum: 0.0,
playTimeSum: 0.0
});

this._appProtocol = /^(https?:)/i.test(document.location.protocol) ? document.location.protocol : 'https:';
Copy link
Contributor

Choose a reason for hiding this comment

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

if this is becoming a repeating pattern let's add this as a util

getProtocol(defaultProtocol: string): string {
    return /^(https?:)/i.test(document.location.protocol) ? document.location.protocol : defaultProtocol;
}

Copy link
Contributor

Choose a reason for hiding this comment

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

we have player utils class for such things

@Yuvalke Yuvalke merged commit d84257f into master Jul 21, 2019
@Yuvalke Yuvalke deleted the FEC-9237 branch July 21, 2019 13:00
DanilMolchanovKaltura pushed a commit that referenced this pull request Nov 28, 2024
#43)

### Description of the Changes

Adjusting Events (used by kava analytics)

#### Solves FEC-13717

#### Related PR: 
#156

---------

Co-authored-by: JonathanTGold <jonathan.gold@[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants