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
7db9397f
Commit
7db9397f
authored
Dec 01, 2020
by
Kim Eunchul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#40385 【TECSS(Biz) webviewer 1.9】pdfコンテンツを回転した状態でコンテンツBGMとページBGMが再生される
parent
1d9e92a4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
39 additions
and
3 deletions
+39
-3
abvw/js/contentview.js
+37
-1
abvw/js/contentview_CreateObjects.js
+2
-2
No files found.
abvw/js/contentview.js
View file @
7db9397f
...
...
@@ -5816,6 +5816,22 @@ CONTENTVIEW.rotateR = function() {
var
videoObj
=
document
.
getElementById
(
'videoOnPage'
);
videoObj
.
remove
();
}
if
(
document
.
getElementById
(
"play_audio_0"
)){
document
.
getElementById
(
"play_audio_0"
).
pause
();
}
if
(
document
.
getElementById
(
"play_audio_1"
)){
document
.
getElementById
(
"play_audio_1"
).
pause
();
}
if
(
document
.
getElementById
(
"play_audio_2"
)){
document
.
getElementById
(
"play_audio_2"
).
pause
();
}
}
else
{
if
(
document
.
getElementById
(
"play_audio_2"
)){
document
.
getElementById
(
"play_audio_2"
).
play
();
}
else
if
(
document
.
getElementById
(
"play_audio_1"
)){
document
.
getElementById
(
"play_audio_1"
).
play
();
}
}
CONTENTVIEW
.
changePageWithoutSlide
(
$
(
"#txtSlider"
).
val
()
-
1
);
...
...
@@ -5841,12 +5857,32 @@ CONTENTVIEW.rotateL = function() {
}
//CONTENTVIEW.srcRect.width = 0;
if
(
$
(
'#rotatebtnR'
).
attr
(
'angle'
)
!=
'0'
){
if
(
document
.
getElementById
(
'videoOnPage'
)){
var
videoObj
=
document
.
getElementById
(
'videoOnPage'
);
videoObj
.
remove
();
}
if
(
document
.
getElementById
(
"play_audio_0"
)){
document
.
getElementById
(
"play_audio_0"
).
pause
();
console
.
log
(
"play_audio_0 pause!!!"
);
}
if
(
document
.
getElementById
(
"play_audio_1"
)){
document
.
getElementById
(
"play_audio_1"
).
pause
();
console
.
log
(
"play_audio_1 pause!!!"
);
}
if
(
document
.
getElementById
(
"play_audio_2"
)){
document
.
getElementById
(
"play_audio_2"
).
pause
();
console
.
log
(
"play_audio_2 pause!!!"
);
}
}
else
{
if
(
document
.
getElementById
(
"play_audio_2"
)){
document
.
getElementById
(
"play_audio_2"
).
play
();
}
else
if
(
document
.
getElementById
(
"play_audio_1"
)){
document
.
getElementById
(
"play_audio_1"
).
play
();
console
.
log
(
"play_audio_1 play!!!"
);
}
}
CONTENTVIEW
.
changePageWithoutSlide
(
$
(
"#txtSlider"
).
val
()
-
1
);
...
...
abvw/js/contentview_CreateObjects.js
View file @
7db9397f
...
...
@@ -2715,7 +2715,7 @@ CONTENTVIEW_CREATEOBJECT.createAudio = function(audio, type) {
// audio = audio.replace("webResourceDownload/", "webResourceDownload");
// }
if
(
audio
!=
''
)
{
if
(
audio
!=
''
&&
$
(
'#rotatebtnR'
).
attr
(
'angle'
)
==
'0'
)
{
if
(
type
==
"0"
)
{
/* play when click */
CONTENTVIEW
.
stopAllAudio
();
...
...
@@ -2848,7 +2848,7 @@ CONTENTVIEW_CREATEOBJECT.createAudio = function(audio, type) {
CONTENTVIEW
.
TypeAudio1
=
type
;
CONTENTVIEW
.
srcAudioType1
=
audio
;
if
(
ClientData
.
userOpt_musicMode
()
==
"1"
)
{
if
(
ClientData
.
userOpt_musicMode
()
==
"1"
&&
$
(
'#rotatebtnR'
).
attr
(
'angle'
)
==
'0'
)
{
//if (CONTENTVIEW_GENERAL.avwUserEnvObj.browser == 'firefox') {
// $('#playaudioallpage').html(
// ' <embed id="play_audio_1" src="' + audio + '&key=' + (new Date()).toIdString() + '" autostart="true" loop="true" hidden="true"> </embed>'
...
...
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