Skip to content

Commit

Permalink
Add missing boolean MediaFile properties
Browse files Browse the repository at this point in the history
  • Loading branch information
timdp committed Jun 30, 2016
1 parent 76cb206 commit 915428f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
4 changes: 3 additions & 1 deletion src/vast/schema.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ const types = {
minBitrate: TYPES.int,
maxBitrate: TYPES.int,
width: TYPES.int,
height: TYPES.int
height: TYPES.int,
scalable: TYPES.bool,
maintainAspectRatio: TYPES.bool
},
NonLinear: {
width: TYPES.int,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
"bitrate": 500,
"delivery": "progressive",
"height": 300,
"maintainAspectRatio": "true",
"scalable": "true",
"maintainAspectRatio": true,
"scalable": true,
"type": "video/x-flv",
"uri": "http://cdnp.tremormedia.com/video/acudeo/Carrot_400x300_500kb.flv",
"width": 400
Expand Down Expand Up @@ -145,4 +145,4 @@
"errors": [
],
"version": "2.0"
}
}
8 changes: 4 additions & 4 deletions test/integration/expected/videoplaza/karbon.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"bitrate": 538,
"delivery": "progressive",
"height": 288,
"scalable": "true",
"scalable": true,
"type": "video/mp4",
"uri": "https://vp.videoplaza.tv/creatives/assets/1691464c-6017-4c76-b23d-ff45a947df8c/3b617267-116d-49cd-8a20-531f3650aeb9.mp4",
"width": 512
Expand All @@ -37,7 +37,7 @@
"bitrate": 293,
"delivery": "progressive",
"height": 288,
"scalable": "true",
"scalable": true,
"type": "video/mp4",
"uri": "https://vp.videoplaza.tv/creatives/assets/1691464c-6017-4c76-b23d-ff45a947df8c/49be3f84-048f-47f4-8c4b-03d960d6ef9c.mp4",
"width": 512
Expand All @@ -47,7 +47,7 @@
"bitrate": 804,
"delivery": "progressive",
"height": 576,
"scalable": "true",
"scalable": true,
"type": "video/mp4",
"uri": "https://vp.videoplaza.tv/creatives/assets/1691464c-6017-4c76-b23d-ff45a947df8c/b3fe26b0-7dbd-4235-8e9a-59c344095fd1.mp4",
"width": 1024
Expand Down Expand Up @@ -137,4 +137,4 @@
"errors": [
],
"version": "3.0"
}
}

0 comments on commit 915428f

Please sign in to comment.