Commit 8de78bc0 by Kim Eunchul

#40387 【TECSS(Biz) webviewer 1.9】組み込み動画再生中に回転すると、再生され続ける

parent 2d49da25
...@@ -5813,7 +5813,8 @@ CONTENTVIEW.rotateR = function() { ...@@ -5813,7 +5813,8 @@ CONTENTVIEW.rotateR = function() {
if($('#rotatebtnR').attr('angle') != '0'){ if($('#rotatebtnR').attr('angle') != '0'){
if(document.getElementById('videoOnPage')){ if(document.getElementById('videoOnPage')){
var videoObj = document.getElementById('videoOnPage'); var videoObj = document.getElementById('videoOnPage');
videoObj.remove(); if(videoObj.parentNode)
videoObj.parentNode.removeChild(videoObj);
} }
if(document.getElementById("play_audio_0")){ if(document.getElementById("play_audio_0")){
document.getElementById("play_audio_0").pause(); document.getElementById("play_audio_0").pause();
...@@ -5860,7 +5861,8 @@ CONTENTVIEW.rotateL = function() { ...@@ -5860,7 +5861,8 @@ CONTENTVIEW.rotateL = function() {
if($('#rotatebtnR').attr('angle') != '0'){ if($('#rotatebtnR').attr('angle') != '0'){
if(document.getElementById('videoOnPage')){ if(document.getElementById('videoOnPage')){
var videoObj = document.getElementById('videoOnPage'); var videoObj = document.getElementById('videoOnPage');
videoObj.remove(); if(videoObj.parentNode)
videoObj.parentNode.removeChild(videoObj);
} }
if(document.getElementById("play_audio_0")){ if(document.getElementById("play_audio_0")){
document.getElementById("play_audio_0").pause(); document.getElementById("play_audio_0").pause();
......
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