Skip to content

Commit

Permalink
Update player version to 3.100.0
Browse files Browse the repository at this point in the history
  • Loading branch information
strangesource committed Dec 20, 2024
1 parent 7588ee0 commit 270bf89
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
import com.bitmovin.player.api.source.SourceType;
import com.bitmovin.player.api.ui.PlayerViewConfig;
import com.bitmovin.player.api.ui.ScalingMode;
import com.bitmovin.player.api.ui.SurfaceType;
import com.bitmovin.player.api.ui.UiConfig;
import com.bitmovin.player.samples.tv.playback.basic.R;

Expand Down Expand Up @@ -56,7 +57,8 @@ private void initializePlayer() {
),
false,
ScalingMode.Fit,
false
false,
SurfaceType.SurfaceView
);

playerView = new PlayerView(this, player, viewConfig);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
import com.bitmovin.player.api.source.SourceType;
import com.bitmovin.player.api.ui.PlayerViewConfig;
import com.bitmovin.player.api.ui.ScalingMode;
import com.bitmovin.player.api.ui.SurfaceType;
import com.bitmovin.player.api.ui.UiConfig;
import com.bitmovin.player.ui.CustomMessageHandler;

Expand Down Expand Up @@ -50,7 +51,8 @@ protected void onCreate(Bundle savedInstanceState) {
),
false,
ScalingMode.Fit,
false
false,
SurfaceType.SurfaceView
);

// Create a custom javascriptInterface object which takes over the Bitmovin Web UI -> native calls
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
import com.bitmovin.player.api.ui.FullscreenHandler;
import com.bitmovin.player.api.ui.PlayerViewConfig;
import com.bitmovin.player.api.ui.ScalingMode;
import com.bitmovin.player.api.ui.SurfaceType;
import com.bitmovin.player.api.ui.UiConfig;

import java.util.Timer;
Expand Down Expand Up @@ -67,7 +68,8 @@ public PlayerUI(Context context, Player player) {
UiConfig.Disabled.INSTANCE,
false,
ScalingMode.Fit,
false
false,
SurfaceType.SurfaceView
);
playerView = new PlayerView(context, player, viewConfig);
playerView.setLayoutParams(new ViewGroup.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
import com.bitmovin.player.api.source.SourceType;
import com.bitmovin.player.api.ui.PlayerViewConfig;
import com.bitmovin.player.api.ui.ScalingMode;
import com.bitmovin.player.api.ui.SurfaceType;
import com.bitmovin.player.api.ui.UiConfig;

public class MainActivity extends AppCompatActivity {
Expand All @@ -39,7 +40,8 @@ protected void onCreate(Bundle savedInstanceState) {
UiConfig.Disabled.INSTANCE,
false,
ScalingMode.Fit,
false
false,
SurfaceType.SurfaceView
);
playerView = new PlayerView(this,
player,
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ When you want to develop an own Android application using the Bitmovin Player An
It is recommended to reference a specific version as you can see below:
```
implementation 'com.bitmovin.player:player:3.99.0'
implementation 'com.bitmovin.player:player:3.100.0'
```
#### Additional SDK dependencies
Expand Down
2 changes: 1 addition & 1 deletion dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ext {
playServicesAdsIdentifierVersion = '18.0.1'
imaSdkVersion = '3.33.0'
playServicesCastVersion = '21.4.0'
bitmovinPlayerVersion = '3.99.0'
bitmovinPlayerVersion = '3.100.0'
appcompat_version = "1.6.1"
activity_version = "1.6.1"
fragment_version = "1.5.5"
Expand Down

0 comments on commit 270bf89

Please sign in to comment.