Commit 76f26423 by Lee Munkyeong

文書協業の場合ホストが終了したらPIPモードからフールスクリーンになるように修正。

parent 310812bf
...@@ -29,8 +29,8 @@ ...@@ -29,8 +29,8 @@
<div class="text-right d-flex align-items-center"> <div class="text-right d-flex align-items-center">
<button type="button" name="button" class="btn user_btn collaboration_contents picture_contents video_contents board_contents"></button> <button type="button" name="button" class="btn user_btn collaboration_contents picture_contents video_contents board_contents"></button>
<button type="button" name="button" class="btn add_user_btn none"></button> <button type="button" name="button" class="btn add_user_btn none"></button>
<button type="button" name="button" class="btn start_pip_btn collaboration_contents document_contents" onclick="startPipMode();"></button>
<button type="button" name="button" class="btn menu_btn host_contents"></button> <button type="button" name="button" class="btn menu_btn host_contents"></button>
<button type="button" name="button" class="btn start_pip_btn collaboration_contents document_contents" onclick="startPipMode();"></button>
<!-- <button type="button" name="button" class="btn exit_btn" onclick="Coview_exitCollaboration();"></button> --> <!-- <button type="button" name="button" class="btn exit_btn" onclick="Coview_exitCollaboration();"></button> -->
</div> </div>
</div> </div>
......
...@@ -224,6 +224,9 @@ $(function () { ...@@ -224,6 +224,9 @@ $(function () {
coview_api.addEventListener("hostbye", function () { coview_api.addEventListener("hostbye", function () {
console.log("=============> HOST BYE : share hostbye"); console.log("=============> HOST BYE : share hostbye");
if (joinCollaborationType == COLLABORATION_TYPE.DOCUMENT && CHAT_UTIL.isAndroid()) {
android.exitMeetingRoom();
}
alert(getLocalizedString("inform_exit_host_collaboration")); alert(getLocalizedString("inform_exit_host_collaboration"));
Coview_exitCollaboration(); Coview_exitCollaboration();
$("#loadingIndicator").removeClass("full_active"); $("#loadingIndicator").removeClass("full_active");
...@@ -231,6 +234,9 @@ $(function () { ...@@ -231,6 +234,9 @@ $(function () {
coview_api.addEventListener("destroy", function () { coview_api.addEventListener("destroy", function () {
console.log("=============> DESTROY : share destroy"); console.log("=============> DESTROY : share destroy");
if (joinCollaborationType == COLLABORATION_TYPE.DOCUMENT && CHAT_UTIL.isAndroid()) {
android.exitMeetingRoom();
}
alert(getLocalizedString("inform_exit_host_collaboration")); alert(getLocalizedString("inform_exit_host_collaboration"));
Coview_exitCollaboration(); Coview_exitCollaboration();
$(".coview_share_area").hide(); $(".coview_share_area").hide();
......
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