Skip to content

Commit

Permalink
fix(FEC-8099): remove the seek bar while ad (#210)
Browse files Browse the repository at this point in the history
the seek bar is unnecessary while ad, also it takes needed space - removed while ad
  • Loading branch information
yairans committed Apr 8, 2018
1 parent 9483ec8 commit be4a35f
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/ui-presets/ads.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import style from '../styles/style.scss';
import {h} from 'preact';
import Loading from '../components/loading';
import PlayPauseControl from '../components/play-pause';
import SeekBarAdsContainer from '../components/seekbar-ads-container';
import VolumeControl from '../components/volume';
import FullscreenControl from '../components/fullscreen';
import TimeDisplayAdsContainer from '../components/time-display-ads-container';
Expand Down Expand Up @@ -51,12 +50,6 @@ export default function adsUI(props: any): ?React$Element<any> {
{adsUiCustomization.skipButton ? <AdSkip player={props.player}/> : undefined}
</div>
<BottomBar>
<SeekBarAdsContainer
adBreak
showFramePreview
showTimeBubble
player={props.player}
playerContainer={props.playerContainer}/>
<div className={style.leftControls}>
<PlayPauseControl player={props.player}/>
<TimeDisplayAdsContainer/>
Expand Down

0 comments on commit be4a35f

Please sign in to comment.