Skip to content

Commit

Permalink
Merge pull request #14 from apivideo/remove-unused-player-theme-options
Browse files Browse the repository at this point in the history
Remove unused player theme options
  • Loading branch information
bot-api-video authored Aug 19, 2021
2 parents 9caff08 + 5639361 commit cffe5a2
Show file tree
Hide file tree
Showing 12 changed files with 7 additions and 234 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Add this dependency to your project's POM:
<dependency>
<groupId>video.api</groupId>
<artifactId>java-api-client</artifactId>
<version>1.0.7</version>
<version>1.0.8</version>
<scope>compile</scope>
</dependency>
```
Expand All @@ -33,7 +33,7 @@ Add this dependency to your project's POM:
Add this dependency to your project's build file:

```groovy
compile "video.api:java-api-client:1.0.7"
compile "video.api:java-api-client:1.0.8"
```

### Others
Expand All @@ -46,7 +46,7 @@ mvn clean package

Then manually install the following JARs:

* `target/java-api-client-1.0.7.jar`
* `target/java-api-client-1.0.8.jar`
* `target/lib/*.jar`

## Getting Started
Expand Down
52 changes: 0 additions & 52 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2425,11 +2425,6 @@ paths:
- playerId: pl4fgtjy4tjyKDK545DRdfg
createdAt: 2020-01-13T10:09:17+00:00
updatedAt: 2020-01-13T10:09:17+00:00
shapeMargin: 10
shapeRadius: 3
shapeAspect: flat
shapeBackgroundTop: rgba(50, 50, 50, .7)
shapeBackgroundBottom: rgba(50, 50, 50, .8)
text: rgba(255, 255, 255, .95)
link: rgba(255, 0, 0, .95)
linkHover: rgba(255, 255, 255, .75)
Expand All @@ -2448,11 +2443,6 @@ paths:
- playerId: pl54fgtjy4tjyKDK45DRdfg
createdAt: 2020-01-13T10:09:17+00:00
updatedAt: 2020-01-13T10:09:17+00:00
shapeMargin: 10
shapeRadius: 3
shapeAspect: flat
shapeBackgroundTop: rgba(50, 50, 50, .7)
shapeBackgroundBottom: rgba(50, 50, 50, .8)
text: rgba(255, 255, 255, .95)
link: rgba(255, 0, 0, .95)
linkHover: rgba(255, 255, 255, .75)
Expand Down Expand Up @@ -2537,10 +2527,6 @@ paths:
playerId: pl45d5vFFGrfdsdsd156dGhh
createdAt: 2020-01-13T10:09:17+00:00
updatedAt: 2020-01-13T10:09:17+00:00
shapeRadius: 3
shapeAspect: flat
shapeBackgroundTop: rgba(50, 50, 50, .7)
shapeBackgroundBottom: rgba(50, 50, 50, .8)
text: rgba(255, 255, 255, .95)
link: rgba(255, 0, 0, .95)
linkHover: rgba(255, 255, 255, .75)
Expand Down Expand Up @@ -2629,10 +2615,6 @@ paths:
playerId: pl45d5vFFGrfdsdsd156dGhh
createdAt: 2020-01-13T10:09:17+00:00
updatedAt: 2020-01-13T11:12:14+00:00
shapeRadius: 3
shapeAspect: flat
shapeBackgroundTop: rgba(50, 50, 50, .7)
shapeBackgroundBottom: rgba(50, 50, 50, .8)
text: rgba(255, 255, 255, .95)
link: rgba(255, 0, 0, .95)
linkHover: rgba(255, 255, 255, .75)
Expand Down Expand Up @@ -2702,10 +2684,6 @@ paths:
playerId: pl45d5vFFGrfdsdsd156dGhh
createdAt: 2020-01-13T10:09:17+00:00
updatedAt: 2020-01-13T11:12:14+00:00
shapeRadius: 3
shapeAspect: flat
shapeBackgroundTop: rgba(50, 50, 50, .7)
shapeBackgroundBottom: rgba(50, 50, 50, .8)
text: rgba(255, 255, 255, .95)
link: rgba(255, 0, 0, .95)
linkHover: rgba(255, 255, 255, .75)
Expand Down Expand Up @@ -3716,31 +3694,26 @@ components:
player-theme:
example:
trackUnplayed: trackUnplayed
shapeMargin: 0
backgroundTop: backgroundTop
link: link
trackPlayed: trackPlayed
shapeBackgroundTop: shapeBackgroundTop
linkHover: linkHover
backgroundBottom: backgroundBottom
enableControls: true
backgroundText: backgroundText
enableApi: true
forceAutoplay: true
shapeBackgroundBottom: shapeBackgroundBottom
trackBackground: trackBackground
createdAt: 2020-01-31T10:17:47Z
assets:
link: path/to/my/logo/mylogo.jpg
logo: mylogo.jpg
hideTitle: true
shapeAspect: shapeAspect
text: text
linkActive: linkActive
forceLoop: true
playerId: pl45KFKdlddgk654dspkze
updatedAt: 2020-01-31T10:18:47Z
shapeRadius: 6
properties:
text:
description: 'RGBA color for timer text. Default: rgba(255, 255, 255, 1)'
Expand Down Expand Up @@ -3804,21 +3777,6 @@ components:
example: 2020-01-31T10:18:47Z
format: date-time
type: string
shapeMargin:
description: Deprecated
type: integer
shapeRadius:
description: Deprecated
type: integer
shapeAspect:
description: Deprecated
type: string
shapeBackgroundTop:
description: Deprecated
type: string
shapeBackgroundBottom:
description: Deprecated
type: string
linkActive:
description: Deprecated
type: string
Expand Down Expand Up @@ -4918,57 +4876,47 @@ components:
uri: /videos/search?currentPage=6&pageSize=20
data:
- trackUnplayed: trackUnplayed
shapeMargin: 0
backgroundTop: backgroundTop
link: link
trackPlayed: trackPlayed
shapeBackgroundTop: shapeBackgroundTop
linkHover: linkHover
backgroundBottom: backgroundBottom
enableControls: true
backgroundText: backgroundText
enableApi: true
forceAutoplay: true
shapeBackgroundBottom: shapeBackgroundBottom
trackBackground: trackBackground
createdAt: 2020-01-31T10:17:47Z
assets:
link: path/to/my/logo/mylogo.jpg
logo: mylogo.jpg
hideTitle: true
shapeAspect: shapeAspect
text: text
linkActive: linkActive
forceLoop: true
playerId: pl45KFKdlddgk654dspkze
updatedAt: 2020-01-31T10:18:47Z
shapeRadius: 6
- trackUnplayed: trackUnplayed
shapeMargin: 0
backgroundTop: backgroundTop
link: link
trackPlayed: trackPlayed
shapeBackgroundTop: shapeBackgroundTop
linkHover: linkHover
backgroundBottom: backgroundBottom
enableControls: true
backgroundText: backgroundText
enableApi: true
forceAutoplay: true
shapeBackgroundBottom: shapeBackgroundBottom
trackBackground: trackBackground
createdAt: 2020-01-31T10:17:47Z
assets:
link: path/to/my/logo/mylogo.jpg
logo: mylogo.jpg
hideTitle: true
shapeAspect: shapeAspect
text: text
linkActive: linkActive
forceLoop: true
playerId: pl45KFKdlddgk654dspkze
updatedAt: 2020-01-31T10:18:47Z
shapeRadius: 6
properties:
data:
items:
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apply plugin: 'eclipse'
apply plugin: 'java'

group = 'video.api'
version = '1.0.7'
version = '1.0.8'

buildscript {
repositories {
Expand Down
5 changes: 0 additions & 5 deletions docs/PlayerTheme.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,6 @@ Name | Type | Description | Notes
**playerId** | **String** | |
**createdAt** | **OffsetDateTime** | When the player was created, presented in ISO-8601 format. | [optional]
**updatedAt** | **OffsetDateTime** | When the player was last updated, presented in ISO-8601 format. | [optional]
**shapeMargin** | **Integer** | Deprecated | [optional]
**shapeRadius** | **Integer** | Deprecated | [optional]
**shapeAspect** | **String** | Deprecated | [optional]
**shapeBackgroundTop** | **String** | Deprecated | [optional]
**shapeBackgroundBottom** | **String** | Deprecated | [optional]
**linkActive** | **String** | Deprecated | [optional]
**assets** | [**PlayerThemeAssets**](PlayerThemeAssets.md) | | [optional]

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<artifactId>java-api-client</artifactId>
<packaging>jar</packaging>
<name>${project.groupId}:${project.artifactId}</name>
<version>1.0.7</version>
<version>1.0.8</version>
<url>https://github.com/apivideo/java-api-client</url>
<description>api.video java API client</description>
<scm>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/video/api/client/api/ApiClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ private OkHttpClient initHttpClient(List<Interceptor> interceptors) {
private void init() {
verifyingSsl = true;
json = new JSON();
setUserAgent("api.video client (java; v:1.0.7; )");
setUserAgent("api.video client (java; v:1.0.8; )");
}

/**
Expand Down
Loading

0 comments on commit cffe5a2

Please sign in to comment.