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
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
13 deletions
+14
-13
abvw/js/contentview_CreateObjects.js
+14
-13
No files found.
abvw/js/contentview_CreateObjects.js
View file @
fd0dbf2b
...
@@ -450,7 +450,7 @@ CONTENTVIEW_CREATEOBJECT.PageObject.prototype.drawPageObject = function (context
...
@@ -450,7 +450,7 @@ CONTENTVIEW_CREATEOBJECT.PageObject.prototype.drawPageObject = function (context
context
.
drawImage
(
img
,
x
,
y
,
w
,
h
);
context
.
drawImage
(
img
,
x
,
y
,
w
,
h
);
}
}
}
}
//ブラウザがIE9となっている場合対応する
//ブラウザがIE9となっている場合対応する
if
(
!
isSetTimeout
){
if
(
!
isSetTimeout
){
CONTENTVIEW
.
flip
(
opt
);
CONTENTVIEW
.
flip
(
opt
);
...
@@ -2566,21 +2566,22 @@ CONTENTVIEW_CREATEOBJECT.createAudio = function(audio, type) {
...
@@ -2566,21 +2566,22 @@ CONTENTVIEW_CREATEOBJECT.createAudio = function(audio, type) {
if
(
audio
!=
''
)
{
if
(
audio
!=
''
)
{
if
(
type
==
"0"
)
{
/* play when click */
if
(
type
==
"0"
)
{
/* play when click */
console
.
log
(
"length"
+
$
(
'#play_audio_0'
).
length
);
//
//
if
(
$
(
'#play_audio_0'
).
length
){
if
(
$
(
'#play_audio_0'
).
length
){
//pouseできるようにする
//pouseできるようにする
var
myAudio
=
document
.
getElementById
(
"play_audio_0"
);
$
(
"#playaudio"
).
on
(
"play"
,
function
(
me
)
{
if
(
myAudio
.
paused
)
jQuery
(
'audio'
).
each
(
function
(
i
,
e
)
{
{
if
(
e
!=
me
.
currentTarget
)
myAudio
.
play
();
{
}
else
{
this
.
pause
();
myAudio
.
pause
();
}
}
});
});
//CONTENTVIEW.stopAllAudio();
return
;
//CONTENTVIEW.stopAllAudio();
//return;
}
}
CONTENTVIEW
.
stopAllAudio
();
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