Commit f533fdf8 by vietdo

#10677 【Web】Web版でHTMLとアンケートを選択すると、コンテンツBGMが停止する

parent c6ebb0bc
...@@ -851,6 +851,11 @@ CONTENTVIEW_CREATEOBJECT.htmlLinkButton = function (mediaType, actionType, id, i ...@@ -851,6 +851,11 @@ CONTENTVIEW_CREATEOBJECT.htmlLinkButton = function (mediaType, actionType, id, i
//abe //abe
//alert("htmlLinkButton"); //alert("htmlLinkButton");
//CONTENTVIEW_STREAMING.debugLog("htmlLinkButton:" + resourceUrl + ":" + objectId); //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 */ /*stop audio on page */
if(!CONTENTVIEW_GENERAL.isStopBGM && !CONTENTVIEW.isPendingContentBGM) { if(!CONTENTVIEW_GENERAL.isStopBGM && !CONTENTVIEW.isPendingContentBGM) {
...@@ -975,6 +980,12 @@ CONTENTVIEW_CREATEOBJECT.anket = function (mediaType, actionType, id, imageUrl, ...@@ -975,6 +980,12 @@ CONTENTVIEW_CREATEOBJECT.anket = function (mediaType, actionType, id, imageUrl,
COMMON.SetObjectLog(CONTENTVIEW_GENERAL.contentID, objectLog); 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 */ /*stop audio on page */
if(!CONTENTVIEW_GENERAL.isStopBGM && !CONTENTVIEW.isPendingContentBGM) { if(!CONTENTVIEW_GENERAL.isStopBGM && !CONTENTVIEW.isPendingContentBGM) {
CONTENTVIEW.stopAllAudio(); CONTENTVIEW.stopAllAudio();
...@@ -1015,6 +1026,12 @@ CONTENTVIEW_CREATEOBJECT.exam = function (mediaType, actionType, id, imageUrl, x ...@@ -1015,6 +1026,12 @@ CONTENTVIEW_CREATEOBJECT.exam = function (mediaType, actionType, id, imageUrl, x
objectLog.locationWidth = w; objectLog.locationWidth = w;
COMMON.SetObjectLog(CONTENTVIEW_GENERAL.contentID, objectLog); 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 */ /*stop audio on page */
if(!CONTENTVIEW_GENERAL.isStopBGM && !CONTENTVIEW.isPendingContentBGM) { if(!CONTENTVIEW_GENERAL.isStopBGM && !CONTENTVIEW.isPendingContentBGM) {
CONTENTVIEW.stopAllAudio(); CONTENTVIEW.stopAllAudio();
...@@ -1064,6 +1081,12 @@ CONTENTVIEW_CREATEOBJECT.quiz = function (mediaType, actionType, id, imageUrl, x ...@@ -1064,6 +1081,12 @@ CONTENTVIEW_CREATEOBJECT.quiz = function (mediaType, actionType, id, imageUrl, x
COMMON.SetObjectLog(CONTENTVIEW_GENERAL.contentID, objectLog); 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 */ /*stop audio on page */
if(!CONTENTVIEW_GENERAL.isStopBGM && !CONTENTVIEW.isPendingContentBGM) { if(!CONTENTVIEW_GENERAL.isStopBGM && !CONTENTVIEW.isPendingContentBGM) {
CONTENTVIEW.stopAllAudio(); CONTENTVIEW.stopAllAudio();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment