Commit d535a9e3 by Kim Peace

Fixed not to autoplay archive contents

parent 4c5587db
......@@ -211,7 +211,7 @@ ArchiveUI.appendImageTypePlayer = function (filePath) {
ArchiveUI.appendVideoTypePlayer = function (filePath) {
if (deviceInfo.isiOS()) {
$("#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 +
'" type="video/mp4"><source src="' +
filePath +
......@@ -223,7 +223,7 @@ ArchiveUI.appendVideoTypePlayer = function (filePath) {
$("#archive_player").prepend(
'<video class="archive_player" src=' +
filePath +
' controls autoplay playsinline controlsList="nodownload"></video>'
' controls playsinline controlsList="nodownload"></video>'
);
}
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment