Commit b6327f0e by Kang Donghun

#42602 アーカイブの保存ユーザに「ユーザ名」が表示されていない

#42604 アーカイブの素材がダウンロードできないようにする
parent 1b38a184
......@@ -1740,7 +1740,6 @@ CHAT_UI.refreshArchiveDetailScreen = function(archiveId) {
//保存ユーザ情報を取得
var userInfo = CHAT_DB.getUserInfo(archive.saveUserId);
userInfo.profileUrl = CHAT.getProfileImgUrl(userInfo.profileUrl);
// アーカイブ情報を表示
var html = Mustache.render(archiveDetailTemplate, {
fileName: archive.archiveName,
......@@ -1748,7 +1747,7 @@ CHAT_UI.refreshArchiveDetailScreen = function(archiveId) {
chatRoomName: archive.roomName,
chatRoomId: archive.roomId,
profileImage: userInfo.profileUrl,
userName: userInfo.shopMembername,
userName: userInfo.shopMemberName,
userId: userInfo.shopMemberId
});
......@@ -1765,11 +1764,11 @@ CHAT_UI.refreshArchiveDetailScreen = function(archiveId) {
break;
case "1": // 動画
case 1:
$('#archive_player').prepend('<video class="archive_player" src=' + archiveFilePath + ' controls autoplay muted playsinline></video>');
$('#archive_player').prepend('<video class="archive_player" src=' + archiveFilePath + ' controls autoplay muted playsinline controlsList="nodownload"></video>');
break;
case "2": // 音声
case 2:
$('#archive_player').prepend('<audio class="archive_audio_player" src=' + archiveFilePath + ' controls></audio>');
$('#archive_player').prepend('<audio class="archive_audio_player" src=' + archiveFilePath + ' controls controlsList="nodownload"></audio>');
$('#archive_player').prepend('<img class="archive_player" src=' + "./img/capture.png" + ' />');
break;
case "3": // 文書
......
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