Skip to content

Commit

Permalink
Merge pull request #218 from ooyala/player-4067
Browse files Browse the repository at this point in the history
[player-4067] Adding in chromecast button to the skin.
  • Loading branch information
pilievOoyala authored Sep 14, 2018
2 parents 82eb909 + bd6545f commit f1bd6a2
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
20 changes: 19 additions & 1 deletion skin-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -897,6 +897,8 @@
"\"skip\": { \"fontFamilyName\": \"alice\", \"fontString\": \"\\u0075\", \"fontStyleClass\": \"icon icon-skip\"}",
"\"audioAndCC\": { \"fontFamilyName\": \"alice\", \"fontString\": \"\\u005F\", \"fontStyleClass\": \"icon icon-audio-and-cc\"}",
"\"selected\": { \"fontFamilyName\": \"alice\", \"fontString\": \"\\u0040\", \"fontStyleClass\": \"icon icon-selected\"}",
"\"chromecast-connected\": {\"fontFamilyName\": \"ooyala-slick-type\", \"fontString\": \"\\u003B\", \"fontStyleClass\": \"oo-icon\"}",
"\"chromecast-disconnected\": {\"fontFamilyName\": \"ooyala-slick-type\", \"fontString\": \"\\u003A\", \"fontStyleClass\": \"oo-icon\"}",
"}"],
"play": {
"description": "Set the styling for the play icon on mobile devices.",
Expand Down Expand Up @@ -1409,7 +1411,23 @@
"buttonNames": {
"description": "These are the only buttons currently supported by the UI SDK.",
"additionalProperties": false,
"enum": ["playPause", "volume", "live", "timeDuration", "flexibleSpace", "share", "discovery", "closedCaption", "quality", "logo", "stereoscopic", "fullscreen", "moreOptions", "arrowsBlack", "audioAndCC", "bitrateSelector"]
"enum": ["playPause",
"volume",
"live",
"timeDuration",
"flexibleSpace",
"share",
"discovery",
"closedCaption",
"quality",
"logo",
"stereoscopic",
"fullscreen",
"moreOptions",
"arrowsBlack",
"audioAndCC",
"bitrateSelector",
"chromecast"]
},
"buttonArray": {
"description": "Used to list the buttons for a single platform (desktop vs. mobile).",
Expand Down
6 changes: 5 additions & 1 deletion skin.json
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,7 @@
{"name":"live", "location":"controlBar", "whenDoesNotFit":"keep", "minWidth":45},
{"name":"timeDuration", "location":"controlBar", "whenDoesNotFit":"drop", "minWidth":145 },
{"name":"flexibleSpace", "location":"controlBar", "whenDoesNotFit":"keep", "minWidth":1 },
{"name":"chromecast", "location": "controlBar", "whenDoesNotFit":"moveToMoreOptions", "minWidth":45 },
{"name":"share", "location":"controlBar", "whenDoesNotFit":"moveToMoreOptions", "minWidth":45 },
{"name":"discovery", "location":"controlBar", "whenDoesNotFit":"moveToMoreOptions", "minWidth":45 },
{"name":"closedCaption", "location":"controlBar", "whenDoesNotFit":"moveToMoreOptions", "minWidth":45 },
Expand All @@ -315,6 +316,7 @@
{"name":"live", "location":"controlBar", "whenDoesNotFit":"keep", "minWidth":45},
{"name":"timeDuration", "location":"controlBar", "whenDoesNotFit":"keep", "minWidth":100 },
{"name":"flexibleSpace", "location":"controlBar", "whenDoesNotFit":"keep", "minWidth":1 },
{"name":"chromecast", "location": "controlBar", "whenDoesNotFit":"moveToMoreOptions", "minWidth":50 },
{"name":"share", "location":"moreOptions" },
{"name":"discovery", "location":"moreOptions" },
{"name":"closedCaption", "location":"moreOptions" },
Expand Down Expand Up @@ -372,6 +374,8 @@
"stereoOff": {"fontFamilyName": "ooyala-slick-type", "fontString": "\u0057", "fontStyleClass": "oo-icon oo-icon-system-auto"},
"vrIcon": {"fontFamilyName": "ooyala-slick-type", "fontString": "\u0059", "fontStyleClass": "oo-icon"},
"audioAndCC": {"fontFamilyName": "ooyala-slick-type", "fontString": "\u005F", "fontStyleClass": "oo-icon oo-icon-audio-and-cc"},
"selected": {"fontFamilyName": "ooyala-slick-type", "fontString": "\u0040", "fontStyleClass": "oo-icon oo-icon-selected"}
"selected": {"fontFamilyName": "ooyala-slick-type", "fontString": "\u0040", "fontStyleClass": "oo-icon oo-icon-selected"},
"chromecast-connected": {"fontFamilyName": "ooyala-slick-type", "fontString": "\u003B", "fontStyleClass": "oo-icon"},
"chromecast-disconnected": {"fontFamilyName": "ooyala-slick-type", "fontString": "\u003A", "fontStyleClass": "oo-icon"},
}
}

0 comments on commit f1bd6a2

Please sign in to comment.