Skip to content

Commit f721466

Browse files
committed
demo vast url context
1 parent 8c67bcd commit f721466

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@gamedistribution.com/html5-sdk",
3-
"version": "1.5.54",
3+
"version": "1.5.55",
44
"author": "GameDistribution.com",
55
"description": "GameDistribution.com HTML5 SDK",
66
"url": "https://gamedistribution.com",

src/components/VideoAd.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ class VideoAd {
227227
let imaSamples = this.IMASampleTags[adType];
228228
let index = Math.floor(Math.random() * imaSamples.length);
229229
let sampleTag = imaSamples[index];
230-
resolve(sampleTag);
230+
resolve({ url: sampleTag });
231231
return;
232232
}
233233

src/splash/mars.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ class Mars extends Base {
3939
body {
4040
position: inherit;
4141
}
42+
4243
.${this.options.prefix}splash-background-container {
4344
box-sizing: border-box;
4445
position: absolute;
@@ -49,15 +50,17 @@ class Mars extends Base {
4950
overflow:hidden;
5051
${this._getBackground(options, gameData)}
5152
}
53+
5254
.${this.options.prefix}sdk-version{
5355
position:absolute;
5456
right:0;
5557
top:0;
56-
font-size:12px;
58+
font-size:8px;
5759
padding-top:6px;
5860
padding-right:6px;
5961
color:#aaa;
6062
}
63+
6164
.${this.options.prefix}splash-container {
6265
display: flex;
6366
flex-flow: column;
@@ -68,7 +71,7 @@ class Mars extends Base {
6871
width: 100%;
6972
height: 100%;
7073
}
71-
74+
7275
.${this.options.prefix}splash-top {
7376
display: flex;
7477
flex-flow: column;

0 commit comments

Comments
 (0)