Skip to content

Commit

Permalink
fix(FEC-13410): Player gets stuck right after the pre-roll is playing…
Browse files Browse the repository at this point in the history
… Regression (#804)

fix(FEC-13410): Player gets stuck right after the pre-roll is playing Regression
  • Loading branch information
JonathanTGold authored Oct 4, 2023
1 parent e63c112 commit 94b22ca
Showing 1 changed file with 2 additions and 25 deletions.
27 changes: 2 additions & 25 deletions src/ui-presets/ads.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,31 +48,8 @@ function AdsUI(props: any, context: any): ?React$Element<any> {
);
}
const adsUiCustomization = getAdsUiCustomization();
const bottomBar = (
<BottomBar
leftControls={
<Fragment>
<PlaybackControls name={'BottomBarPlaybackControls'} showPreview={true} />
<TimeDisplayAdsContainer />
</Fragment>
}
rightControls={
<Fragment>
<Volume />
<Fullscreen />
</Fragment>
}
/>
);
const onlyFullscreenBottomBar = (
<BottomBar
rightControls={
<Fragment>
<Fullscreen />
</Fragment>
}
/>
);
const bottomBar = <BottomBar leftControls={[PlaybackControls, TimeDisplayAdsContainer]} rightControls={[Volume, Fullscreen]} />;
const onlyFullscreenBottomBar = <BottomBar rightControls={[Fullscreen]} />;

return (
<div className={style.adGuiWrapper}>
Expand Down

0 comments on commit 94b22ca

Please sign in to comment.