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
b6327f0e
Commit
b6327f0e
authored
Apr 22, 2021
by
Kang Donghun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#42602 アーカイブの保存ユーザに「ユーザ名」が表示されていない
#42604 アーカイブの素材がダウンロードできないようにする
parent
1b38a184
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
public_new/js/chat-ui.js
+3
-4
No files found.
public_new/js/chat-ui.js
View file @
b6327f0e
...
...
@@ -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
.
shopMember
n
ame
,
userName
:
userInfo
.
shopMember
N
ame
,
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"
:
// 文書
...
...
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