Skip to content

Commit

Permalink
Merge pull request #696 from samvera-labs/min-width-android
Browse files Browse the repository at this point in the history
Extend player min-width to Android browsers
  • Loading branch information
Dananji authored Oct 31, 2024
2 parents 4a1d460 + 95a48b2 commit 033f9c8
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/components/MediaPlayer/VideoJS/videojs-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
min-width: 490px;
min-height: 40px;
}
// For iOS
.vjs-theme-ramp.vjs-audio-only-mode.vjs-device-iphone {

// min-width for iOS and Android viewports
.vjs-theme-ramp.vjs-audio-only-mode.vjs-device-iphone,
.vjs-theme-ramp.vjs-audio-only-mode.vjs-device-android {
min-width: 380px;
}

Expand All @@ -17,8 +19,10 @@
min-width: 490px;
min-height: 270px;
}
// For iOS
.vjs-theme-ramp.vjs-device-iphone {

// min-width for iOS and Android viewports
.vjs-theme-ramp.vjs-device-iphone,
.vjs-theme-ramp.vjs-device-android {
min-width: 380px;
min-height: 210px;
}
Expand Down

0 comments on commit 033f9c8

Please sign in to comment.