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
f533fdf8
Commit
f533fdf8
authored
Jun 12, 2015
by
vietdo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#10677 【Web】Web版でHTMLとアンケートを選択すると、コンテンツBGMが停止する
parent
c6ebb0bc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
0 deletions
+23
-0
abvw/js/contentview_CreateObjects.js
+23
-0
No files found.
abvw/js/contentview_CreateObjects.js
View file @
f533fdf8
...
...
@@ -851,6 +851,11 @@ CONTENTVIEW_CREATEOBJECT.htmlLinkButton = function (mediaType, actionType, id, i
//abe
//alert("htmlLinkButton");
//CONTENTVIEW_STREAMING.debugLog("htmlLinkButton:" + resourceUrl + ":" + objectId);
if
(
$
(
'#play_audio_0'
).
length
){
if
(
document
.
getElementById
(
"play_audio_0"
).
played
){
document
.
getElementById
(
"play_audio_0"
).
pause
();
}
}
/*stop audio on page */
if
(
!
CONTENTVIEW_GENERAL
.
isStopBGM
&&
!
CONTENTVIEW
.
isPendingContentBGM
)
{
...
...
@@ -975,6 +980,12 @@ CONTENTVIEW_CREATEOBJECT.anket = function (mediaType, actionType, id, imageUrl,
COMMON
.
SetObjectLog
(
CONTENTVIEW_GENERAL
.
contentID
,
objectLog
);
//---
if
(
$
(
'#play_audio_0'
).
length
){
if
(
document
.
getElementById
(
"play_audio_0"
).
played
){
document
.
getElementById
(
"play_audio_0"
).
pause
();
}
}
/*stop audio on page */
if
(
!
CONTENTVIEW_GENERAL
.
isStopBGM
&&
!
CONTENTVIEW
.
isPendingContentBGM
)
{
CONTENTVIEW
.
stopAllAudio
();
...
...
@@ -1015,6 +1026,12 @@ CONTENTVIEW_CREATEOBJECT.exam = function (mediaType, actionType, id, imageUrl, x
objectLog
.
locationWidth
=
w
;
COMMON
.
SetObjectLog
(
CONTENTVIEW_GENERAL
.
contentID
,
objectLog
);
//---
if
(
$
(
'#play_audio_0'
).
length
){
if
(
document
.
getElementById
(
"play_audio_0"
).
played
){
document
.
getElementById
(
"play_audio_0"
).
pause
();
}
}
s
/*stop audio on page */
if
(
!
CONTENTVIEW_GENERAL
.
isStopBGM
&&
!
CONTENTVIEW
.
isPendingContentBGM
)
{
CONTENTVIEW
.
stopAllAudio
();
...
...
@@ -1064,6 +1081,12 @@ CONTENTVIEW_CREATEOBJECT.quiz = function (mediaType, actionType, id, imageUrl, x
COMMON
.
SetObjectLog
(
CONTENTVIEW_GENERAL
.
contentID
,
objectLog
);
//---
if
(
$
(
'#play_audio_0'
).
length
){
if
(
document
.
getElementById
(
"play_audio_0"
).
played
){
document
.
getElementById
(
"play_audio_0"
).
pause
();
}
}
/*stop audio on page */
if
(
!
CONTENTVIEW_GENERAL
.
isStopBGM
&&
!
CONTENTVIEW
.
isPendingContentBGM
)
{
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