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-8099): remove the seek bar while ad #210

Merged
merged 2 commits into from
Apr 8, 2018
Merged

fix(FEC-8099): remove the seek bar while ad #210

merged 2 commits into from
Apr 8, 2018

Conversation

yairans
Copy link
Contributor

@yairans yairans commented Apr 8, 2018

Description of the Changes

the seek bar is unnecessary while ad, also it takes needed space - removed while ad

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

@yairans yairans requested review from dan-ziv and OrenMe April 8, 2018 08:06
@@ -51,12 +51,6 @@ export default function adsUI(props: any): ?React$Element<any> {
{adsUiCustomization.skipButton ? <AdSkip player={props.player}/> : undefined}
</div>
<BottomBar>
<SeekBarAdsContainer
Copy link
Contributor

Choose a reason for hiding this comment

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

@OrenMe @yairans
Why not to do it configurable?

Copy link
Contributor

Choose a reason for hiding this comment

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

Or even better,
Why not to check in the seekbar component if the uiElements appear in IMA config and just in that case to remove the seekbar?

Copy link
Contributor

Choose a reason for hiding this comment

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

IMO you want the behaviour to be consistent and not dependent on other 3rd party factors.
Also, the seek bar and the time label act as the same here as both indicate time, and seek bar doesn't have it's usual seek behaviour, so in terms of functionality they do the same - and in our case the seekbar also takes needed space - so better to just remove it.

OrenMe
OrenMe previously approved these changes Apr 8, 2018
@@ -51,12 +51,6 @@ export default function adsUI(props: any): ?React$Element<any> {
{adsUiCustomization.skipButton ? <AdSkip player={props.player}/> : undefined}
</div>
<BottomBar>
<SeekBarAdsContainer
Copy link
Contributor

Choose a reason for hiding this comment

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

IMO you want the behaviour to be consistent and not dependent on other 3rd party factors.
Also, the seek bar and the time label act as the same here as both indicate time, and seek bar doesn't have it's usual seek behaviour, so in terms of functionality they do the same - and in our case the seekbar also takes needed space - so better to just remove it.

@yairans yairans merged commit be4a35f into master Apr 8, 2018
@yairans yairans deleted the FEC-8099 branch April 8, 2018 12:48
yairans added a commit that referenced this pull request Apr 8, 2018
seekbarAdsContainer component is unused from #210. deleted.
borhandarabi pushed a commit to TasvirChi/playchi-js-ui that referenced this pull request May 15, 2024
seekbarAdsContainer component is unused from kaltura/playkit-js-ui#210. deleted.
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.

None yet

3 participants