Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
check
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
abook_web
check
Commits
fd0dbf2b
Commit
fd0dbf2b
authored
May 22, 2015
by
vietdo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#9394 【Web 1.1】タップしてPlayで再生中に再度タップしても止まらない
parent
d47d579a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
abvw/js/contentview_CreateObjects.js
+8
-7
No files found.
abvw/js/contentview_CreateObjects.js
View file @
fd0dbf2b
...
...
@@ -2566,21 +2566,22 @@ CONTENTVIEW_CREATEOBJECT.createAudio = function(audio, type) {
if
(
audio
!=
''
)
{
if
(
type
==
"0"
)
{
/* play when click */
console
.
log
(
"length"
+
$
(
'#play_audio_0'
).
length
);
//
if
(
$
(
'#play_audio_0'
).
length
){
//pouseできるようにする
var
myAudio
=
document
.
getElementById
(
"play_audio_0"
);
if
(
myAudio
.
paused
)
$
(
"#playaudio"
).
on
(
"play"
,
function
(
me
)
{
jQuery
(
'audio'
).
each
(
function
(
i
,
e
)
{
if
(
e
!=
me
.
currentTarget
)
{
myAudio
.
play
();
}
else
{
myAudio
.
pause
();
this
.
pause
();
}
});
});
//CONTENTVIEW.stopAllAudio();
return
;
//
return;
}
CONTENTVIEW
.
stopAllAudio
();
...
...
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