Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
chat_webview
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abookCommunication
chat_webview
Commits
d535a9e3
Commit
d535a9e3
authored
Sep 09, 2021
by
Kim Peace
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed not to autoplay archive contents
parent
4c5587db
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
public_new/js/views/archive/archive.js
+2
-2
No files found.
public_new/js/views/archive/archive.js
View file @
d535a9e3
...
@@ -211,7 +211,7 @@ ArchiveUI.appendImageTypePlayer = function (filePath) {
...
@@ -211,7 +211,7 @@ ArchiveUI.appendImageTypePlayer = function (filePath) {
ArchiveUI
.
appendVideoTypePlayer
=
function
(
filePath
)
{
ArchiveUI
.
appendVideoTypePlayer
=
function
(
filePath
)
{
if
(
deviceInfo
.
isiOS
())
{
if
(
deviceInfo
.
isiOS
())
{
$
(
"#archive_player"
).
prepend
(
$
(
"#archive_player"
).
prepend
(
'<video class="archive_player" controls
autoplay
playsinline controlsList="nodownload"><source src="'
+
'<video class="archive_player" controls playsinline controlsList="nodownload"><source src="'
+
filePath
+
filePath
+
'" type="video/mp4"><source src="'
+
'" type="video/mp4"><source src="'
+
filePath
+
filePath
+
...
@@ -223,7 +223,7 @@ ArchiveUI.appendVideoTypePlayer = function (filePath) {
...
@@ -223,7 +223,7 @@ ArchiveUI.appendVideoTypePlayer = function (filePath) {
$
(
"#archive_player"
).
prepend
(
$
(
"#archive_player"
).
prepend
(
'<video class="archive_player" src='
+
'<video class="archive_player" src='
+
filePath
+
filePath
+
' controls
autoplay
playsinline controlsList="nodownload"></video>'
' controls playsinline controlsList="nodownload"></video>'
);
);
}
}
};
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment