Commit d535a9e3 by Kim Peace

Fixed not to autoplay archive contents

parent 4c5587db
...@@ -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>'
); );
} }
}; };
......
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