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
517e541c
Commit
517e541c
authored
Jun 10, 2021
by
Takatoshi Miura
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#43125_host-change-record_ホスト変更後にレコードができないバグを修正
parent
d04302ed
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
public_new/js/chat-ui.js
+1
-1
public_new/js/share.js
+8
-8
No files found.
public_new/js/chat-ui.js
View file @
517e541c
...
@@ -1903,7 +1903,7 @@ CHAT_UI.refreshArchiveDetailScreen = function(archiveId) {
...
@@ -1903,7 +1903,7 @@ CHAT_UI.refreshArchiveDetailScreen = function(archiveId) {
case
"2"
:
// 音声
case
"2"
:
// 音声
case
2
:
case
2
:
if
(
CHAT_UTIL
.
isIOS
())
{
if
(
CHAT_UTIL
.
isIOS
())
{
$
(
'#archive_player'
).
prepend
(
'<audio
class="archive_audio_player" controls controlsList="nodownload"><source src="'
+
archiveFilePath
+
'" type="audio/mp3
"><source src="'
+
archiveFilePath
+
'" type="audio/wav"><source src="'
+
archiveFilePath
+
'" type="audio/ogg"></audio>'
);
$
(
'#archive_player'
).
prepend
(
'<audio
id="mv" class="archive_audio_player" controls controlsList="nodownload
"><source src="'
+
archiveFilePath
+
'" type="audio/wav"><source src="'
+
archiveFilePath
+
'" type="audio/ogg"></audio>'
);
}
else
{
}
else
{
$
(
'#archive_player'
).
prepend
(
'<audio class="archive_audio_player" src='
+
archiveFilePath
+
' controls controlsList="nodownload"></audio>'
);
$
(
'#archive_player'
).
prepend
(
'<audio class="archive_audio_player" src='
+
archiveFilePath
+
' controls controlsList="nodownload"></audio>'
);
}
}
...
...
public_new/js/share.js
View file @
517e541c
...
@@ -187,16 +187,16 @@ $(function () {
...
@@ -187,16 +187,16 @@ $(function () {
Coview_changeHost
(
getFermiLoginId
(
data
.
payload
.
loginId
));
Coview_changeHost
(
getFermiLoginId
(
data
.
payload
.
loginId
));
}
}
}
else
if
(
data
.
type
===
"API_SEND_OWNER_CHANGE_COMPLETE"
)
{
}
else
if
(
data
.
type
===
"API_SEND_OWNER_CHANGE_COMPLETE"
)
{
penOff
();
if
(
$
(
'#recordBtn'
).
hasClass
(
'bg_red'
))
{
if
(
$
(
'#recordBtn'
).
hasClass
(
'bg_red'
))
{
console
.
log
(
"レコードを終了処理開始"
);
recordStop
(
function
()
{
screenLock
();
console
.
log
(
"ホスト変更によりレコードを終了しました"
);
recordStop
(
function
()
{
penOff
();
$
(
'#screenLock'
).
remove
();
console
.
log
(
"レコードを終了しました"
);
});
});
}
if
(
$
(
'#micBtn'
).
hasClass
(
'bg_red'
))
{
micOff
();
}
else
{
}
else
{
penOff
();
micOn
();
}
}
}
else
if
(
data
.
type
===
"CHANGE_HOST_APPLY"
)
{
}
else
if
(
data
.
type
===
"CHANGE_HOST_APPLY"
)
{
if
(
CHAT_UTIL
.
isAndroid
())
{
if
(
CHAT_UTIL
.
isAndroid
())
{
...
@@ -822,7 +822,6 @@ function micOff() {
...
@@ -822,7 +822,6 @@ function micOff() {
};
};
function
micTogle
()
{
function
micTogle
()
{
$
(
'#coviewMicCtrBtn'
).
click
();
if
(
$
(
'#micBtn'
).
hasClass
(
'bg_red'
))
{
if
(
$
(
'#micBtn'
).
hasClass
(
'bg_red'
))
{
micOn
();
micOn
();
}
else
{
}
else
{
...
@@ -831,6 +830,7 @@ function micTogle() {
...
@@ -831,6 +830,7 @@ function micTogle() {
};
};
function
recordStart
()
{
function
recordStart
()
{
console
.
log
(
"レコードを開始しました"
);
MainManRecord
(
'on'
);
MainManRecord
(
'on'
);
$
(
'#recordBtn'
).
removeClass
(
'bg_gray'
);
$
(
'#recordBtn'
).
removeClass
(
'bg_gray'
);
$
(
'#recordBtn'
).
addClass
(
'bg_red'
);
$
(
'#recordBtn'
).
addClass
(
'bg_red'
);
...
...
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