Commit cc07193c by Kim Peace

Merge branch 'bug/#44192_android_archive_autoplay' into 'develop'

Fixed not to autoplay archive contents

See merge request !254
parents 4c5587db d535a9e3
......@@ -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