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:
@@ -1,8 +1,6 @@
|
||||
.video-file-view {
|
||||
overflow: auto;
|
||||
}
|
||||
.video-js {
|
||||
width: calc(100% - 40px);
|
||||
max-width: 800px;
|
||||
max-height: 100%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
@@ -69,6 +69,7 @@ class SharedFileViewVideo extends React.Component {
|
||||
const videoJsOptions = {
|
||||
autoplay: false,
|
||||
controls: true,
|
||||
preload: 'auto',
|
||||
sources: [{
|
||||
src: rawPath
|
||||
}]
|
||||
|
@@ -107,6 +107,7 @@ class FileContent extends React.Component {
|
||||
const videoJsOptions = {
|
||||
autoplay: false,
|
||||
controls: true,
|
||||
preload: 'auto',
|
||||
sources: [{
|
||||
src: rawPath
|
||||
}]
|
||||
|
Reference in New Issue
Block a user