Commit 6fb6f1ba by Kim Eunchul

#40385 【TECSS(Biz) webviewer 1.9】pdfコンテンツを回転した状態でコンテンツBGMとページBGMが再生される

parent 8de78bc0
...@@ -950,7 +950,7 @@ CONTENTVIEW.searchHandle = function() { ...@@ -950,7 +950,7 @@ CONTENTVIEW.searchHandle = function() {
}; };
CONTENTVIEW.playBGMOfPage = function(page_index_bg) { CONTENTVIEW.playBGMOfPage = function(page_index_bg) {
if (CONTENTVIEW_GENERAL.avwUserEnvObj.isIos()) { if (CONTENTVIEW_GENERAL.avwUserEnvObj.isIos() && $('#rotatebtnR').attr('angle') == '0') {
if ($('#playaudiopage').children().length > 0) { if ($('#playaudiopage').children().length > 0) {
$('#playaudiopage').children().remove(); $('#playaudiopage').children().remove();
} }
...@@ -984,7 +984,7 @@ CONTENTVIEW.playBGMOfPage = function(page_index_bg) { ...@@ -984,7 +984,7 @@ CONTENTVIEW.playBGMOfPage = function(page_index_bg) {
}; };
CONTENTVIEW.playBGMOfContent = function() { CONTENTVIEW.playBGMOfContent = function() {
if (CONTENTVIEW_GENERAL.avwUserEnvObj.isIos() && CONTENTVIEW_GENERAL.isJumpNotFromFirstPage == true) { if (CONTENTVIEW_GENERAL.avwUserEnvObj.isIos() && CONTENTVIEW_GENERAL.isJumpNotFromFirstPage == true && $('#rotatebtnR').attr('angle') == '0') {
CONTENTVIEW_GENERAL.isJumpNotFromFirstPage = false; CONTENTVIEW_GENERAL.isJumpNotFromFirstPage = false;
CONTENTVIEW_GETDATA.getPageObjectsByPageIndex(CONTENTVIEW_GENERAL.pageObjectsData, 0); CONTENTVIEW_GETDATA.getPageObjectsByPageIndex(CONTENTVIEW_GENERAL.pageObjectsData, 0);
for (var nIndex = 0; nIndex < CONTENTVIEW_GENERAL.pageObjects.length; nIndex++) { for (var nIndex = 0; nIndex < CONTENTVIEW_GENERAL.pageObjects.length; nIndex++) {
...@@ -5866,15 +5866,12 @@ CONTENTVIEW.rotateL = function() { ...@@ -5866,15 +5866,12 @@ CONTENTVIEW.rotateL = function() {
} }
if(document.getElementById("play_audio_0")){ if(document.getElementById("play_audio_0")){
document.getElementById("play_audio_0").pause(); document.getElementById("play_audio_0").pause();
console.log("play_audio_0 pause!!!");
} }
if(document.getElementById("play_audio_1")){ if(document.getElementById("play_audio_1")){
document.getElementById("play_audio_1").pause(); document.getElementById("play_audio_1").pause();
console.log("play_audio_1 pause!!!");
} }
if(document.getElementById("play_audio_2")){ if(document.getElementById("play_audio_2")){
document.getElementById("play_audio_2").pause(); document.getElementById("play_audio_2").pause();
console.log("play_audio_2 pause!!!");
} }
}else{ }else{
...@@ -5882,7 +5879,6 @@ CONTENTVIEW.rotateL = function() { ...@@ -5882,7 +5879,6 @@ CONTENTVIEW.rotateL = function() {
document.getElementById("play_audio_2").play(); document.getElementById("play_audio_2").play();
}else if(document.getElementById("play_audio_1")){ }else if(document.getElementById("play_audio_1")){
document.getElementById("play_audio_1").play(); document.getElementById("play_audio_1").play();
console.log("play_audio_1 play!!!");
} }
} }
......
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