Skip to content

Commit

Permalink
fix: css collision with ima plugin (#5)
Browse files Browse the repository at this point in the history
add `dai` to the css classes
  • Loading branch information
yairans authored Apr 16, 2019
1 parent cdead31 commit 6beb300
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/assets/style.css
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
.playkit-ads-cover {
.playkit-dai-ads-cover {
position: relative;
cursor: pointer;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0);
}

.playkit-ads-container {
.playkit-dai-ads-container {
width: 100%;
height: 100%;
position: absolute;
Expand Down
4 changes: 2 additions & 2 deletions src/ima-dai.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import {ImaDAIEngineDecorator} from './ima-dai-engine-decorator';
import {ImaDAIAdsController} from './ima-dai-ads-controller';
import './assets/style.css';

const ADS_CONTAINER_CLASS: string = 'playkit-ads-container';
const ADS_COVER_CLASS: string = 'playkit-ads-cover';
const ADS_CONTAINER_CLASS: string = 'playkit-dai-ads-container';
const ADS_COVER_CLASS: string = 'playkit-dai-ads-cover';
const FIRST_FRAME_LENGTH: number = 0.5;

/**
Expand Down

0 comments on commit 6beb300

Please sign in to comment.