1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-01 07:01:12 +00:00

[video file view, shared video file view] modification (#3088)

This commit is contained in:
llj
2019-03-09 16:31:34 +08:00
committed by Daniel Pan
parent 56870a2b27
commit 649b835733
3 changed files with 3 additions and 3 deletions

View File

@@ -1,8 +1,6 @@
.video-file-view {
overflow: auto;
}
.video-js {
width: calc(100% - 40px);
max-width: 800px;
max-height: 100%;
margin: 0 auto;
}

View File

@@ -69,6 +69,7 @@ class SharedFileViewVideo extends React.Component {
const videoJsOptions = {
autoplay: false,
controls: true,
preload: 'auto',
sources: [{
src: rawPath
}]

View File

@@ -107,6 +107,7 @@ class FileContent extends React.Component {
const videoJsOptions = {
autoplay: false,
controls: true,
preload: 'auto',
sources: [{
src: rawPath
}]