Skip to content

Commit

Permalink
Merge pull request #228 from ooyala/PLAYER-4641
Browse files Browse the repository at this point in the history
[PLAYER-4641] Added separated buttons for Web and SDK into audio only category
  • Loading branch information
zelibobla authored Dec 4, 2018
2 parents 14ff5e4 + f3355f8 commit 4470ddc
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 9 deletions.
15 changes: 13 additions & 2 deletions skin-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -858,7 +858,16 @@
"desktopAd": { "$ref": "#/definitions/buttonArray" },
"mobileContent": { "$ref": "#/definitions/buttonArray" },
"mobileAd": { "$ref": "#/definitions/buttonArray" },
"audioOnly": { "$ref": "#/definitions/buttonArray" }
"audioOnly": {
"description": "Defines the buttons that can appear in the audio only view on the controlBar and/or the moreOptions panel. Desktop and Mobile platforms can be configured individually.",
"type": "object",
"required": ["desktop", "mobile"],
"additionalProperties": false,
"properties": {
"desktop": { "$ref": "#/definitions/buttonArray" },
"mobile": { "$ref": "#/definitions/buttonArray" }
}
}
}
},
"icons": {
Expand Down Expand Up @@ -1424,7 +1433,9 @@
"audioAndCC",
"bitrateSelector",
"skipControls",
"chromecast"]
"chromecast",
"seekBackwards",
"seekForward"]
},
"buttonArray": {
"description": "Used to list the buttons for a single platform (desktop vs. mobile).",
Expand Down
19 changes: 12 additions & 7 deletions skin.json
Original file line number Diff line number Diff line change
Expand Up @@ -330,13 +330,18 @@
{"name":"fullscreen", "location":"controlBar", "whenDoesNotFit":"moveToMoreOptions", "minWidth":28 },
{"name":"moreOptions", "location":"controlBar", "whenDoesNotFit":"keep", "minWidth":28 }
],
"audioOnly": [
{"name":"volume", "location":"controlBar", "whenDoesNotFit":"keep", "minWidth":200 },
{"name":"skipControls", "location":"controlBar", "whenDoesNotFit":"keep", "minWidth":200 },
{"name":"moreOptions", "location":"controlBar", "whenDoesNotFit":"keep", "minWidth":50 },
{"name":"share", "location":"moreOptions" },
{"name":"playbackSpeed", "location":"moreOptions" }
]
"audioOnly": {
"desktop": [{"name":"skipControls", "location":"controlBar", "whenDoesNotFit":"keep", "minWidth":200 }],
"mobile": [
{"name":"volume", "location":"controlBar", "whenDoesNotFit":"keep", "minWidth":60 },
{"name":"seekBackwards", "location":"controlBar", "whenDoesNotFit":"keep", "minWidth":60 },
{"name":"playPause", "location":"controlBar", "whenDoesNotFit":"keep", "minWidth":60 },
{"name":"seekForward", "location":"controlBar", "whenDoesNotFit":"keep", "minWidth":60 },
{"name":"moreOptions", "location":"controlBar", "whenDoesNotFit":"keep", "minWidth":50 },
{"name":"share", "location":"moreOptions" },
{"name":"playbackSpeed", "location":"moreOptions" }
]
}
},
"icons": {
"play": {"fontFamilyName": "ooyala-slick-type", "fontString": "\u003e", "fontStyleClass": "oo-icon oo-icon-play-slick"},
Expand Down

0 comments on commit 4470ddc

Please sign in to comment.