Skip to content

Commit

Permalink
add css for controlbar on mobile in audio examples (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
thijstriemstra committed Jan 17, 2016
1 parent 1c734da commit effebe8
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 6 deletions.
10 changes: 8 additions & 2 deletions examples/audio-only-ogg.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,19 @@
<style>
/* place fullscreen control on right side of the player */
.video-js .vjs-control.vjs-fullscreen-control {
position: absolute;
right: 0;
position: absolute;
right: 0;
}
/* change player background color */
#myAudio {
background-color: #9FD6BA;
}
/* make sure the custom controls are always visible because
the plugin hides and replace the video.js native mobile
controls */
.vjs-using-native-controls .vjs-control-bar {
display: flex !important;
}
</style>
</head>
<body>
Expand Down
10 changes: 8 additions & 2 deletions examples/audio-only-recorderjs.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,19 @@
<style>
/* place fullscreen control on right side of the player */
.video-js .vjs-control.vjs-fullscreen-control {
position: absolute;
right: 0;
position: absolute;
right: 0;
}
/* change player background color */
#myAudio {
background-color: #9FD6BA;
}
/* make sure the custom controls are always visible because
the plugin hides and replace the video.js native mobile
controls */
.vjs-using-native-controls .vjs-control-bar {
display: flex !important;
}
</style>
</head>
<body>
Expand Down
10 changes: 8 additions & 2 deletions examples/audio-only.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,19 @@
<style>
/* place fullscreen control on right side of the player */
.video-js .vjs-control.vjs-fullscreen-control {
position: absolute;
right: 0;
position: absolute;
right: 0;
}
/* change player background color */
#myAudio {
background-color: #9FD6BA;
}
/* make sure the custom controls are always visible because
the plugin hides and replace the video.js native mobile
controls */
.vjs-using-native-controls .vjs-control-bar {
display: flex !important;
}
</style>

</head>
Expand Down
6 changes: 6 additions & 0 deletions examples/upload/fine-uploader.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@
#myAudio {
background-color: #9FD6BA;
}
/* make sure the custom controls are always visible because
the plugin hides and replace the video.js native mobile
controls */
.vjs-using-native-controls .vjs-control-bar {
display: flex !important;
}
</style>
</head>

Expand Down
6 changes: 6 additions & 0 deletions examples/upload/jquery.fileupload.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@
#myAudio {
background-color: #9FD6BA;
}
/* make sure the custom controls are always visible because
the plugin hides and replace the video.js native mobile
controls */
.vjs-using-native-controls .vjs-control-bar {
display: flex !important;
}
/* hide file upload button */
#fileupload {
display: none;
Expand Down

0 comments on commit effebe8

Please sign in to comment.