Skip to content

Commit

Permalink
Merge pull request #1238 from nextcloud/revert-1237-revert-1236-rever…
Browse files Browse the repository at this point in the history
…t-1231-backport/1228/stable24
  • Loading branch information
skjnldsv authored May 3, 2022
2 parents 5e353d9 + 5f1482c commit cc30198
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
4 changes: 2 additions & 2 deletions js/viewer-main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/viewer-main.js.map

Large diffs are not rendered by default.

6 changes: 1 addition & 5 deletions src/components/Videos.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
width: width + 'px'
}">
<video ref="video"
:autoplay="active ? true : null"
:autoplay="active"
:playsinline="true"
:poster="livePhotoPath"
:src="davPath"
Expand Down Expand Up @@ -139,10 +139,6 @@ export default {

onLoadedMetadata() {
this.updateVideoSize()
// Force any further loading once we have the metadata
if (!this.active) {
this.player.stop()
}
},
},
}
Expand Down

0 comments on commit cc30198

Please sign in to comment.