Skip to content

Commit

Permalink
COTECH-691 move test buttons above the player especially for mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrzej 'nAndy' Łukaszewski committed Sep 22, 2023
1 parent 585461d commit 819deec
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions test-jw/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,17 @@ function App() {
};

return (
<div className="App">
{/*<CanonicalVideoLoader currentVideo={CANONICAL_VIDEO} />*/}
<DesktopArticleVideoLoader videoDetails={ARTICLE_VIDEO_DETAILS} />
{/*<MobileArticleVideoLoader videoDetails={ARTICLE_VIDEO_DETAILS} />*/}
<button style={{ position: 'absolute', bottom: 0 }} onClick={triggerAd}>
TEST
</button>
<button style={{ position: 'absolute', bottom: 0, left: 64 }} onClick={triggerStrategyRulesAd}>
TEST WITH STRATEGY RULES
</button>
</div>
<>
<div>
<button onClick={triggerAd}>TEST</button>
<button onClick={triggerStrategyRulesAd}>TEST WITH STRATEGY RULES</button>
</div>
<div className="App">
{/*<CanonicalVideoLoader currentVideo={CANONICAL_VIDEO} />*/}
<DesktopArticleVideoLoader videoDetails={ARTICLE_VIDEO_DETAILS} />
{/*<MobileArticleVideoLoader videoDetails={ARTICLE_VIDEO_DETAILS} />*/}
</div>
</>
);
}

Expand Down

0 comments on commit 819deec

Please sign in to comment.