Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

홈으로 나갔을 때 웹뷰에서 나오는 사운드 재생 막는 방법 #453

Open
1 of 9 tasks
Roksan4614 opened this issue Oct 26, 2023 · 2 comments
Open
1 of 9 tasks
Assignees
Labels
question Issue type : Question WebView Service : WebView

Comments

@Roksan4614
Copy link

Roksan4614 commented Oct 26, 2023

Service

  • WebView
  • AssetManagement
  • Communicator
  • LogViewer
  • Manager
  • UI
  • Profiler
  • Adapter
  • DLST

Version

webview 2.0.2
unity 2022.2.18f1

Summary

홈으로 나갔을 때 웹뷰에서 나오는 사운드가 계속 재생 됩니다.

Screenshots

If applicable, add screenshots to help explain your question.

Additional context

홈으로 나갈 경우 웹뷰에서 나오는 사운드가 재생되지 않게 하려면 어떻게 해야 하나요??

        new GpmWebViewRequest.Configuration()
        {
            style = GpmWebViewStyle.FULLSCREEN,
            orientation = GpmOrientation.UNSPECIFIED,
            isClearCookie = false,
            isClearCache = false,
            isNavigationBarVisible = false,
            supportMultipleWindows = false,

            title = "The page title.",
            isBackButtonVisible = false,
            isForwardButtonVisible = false,
            isCloseButtonVisible = false,
            isBackButtonCloseCallbackUsed = true,

#if UNITY_IOS
contentMode = GpmWebViewContentMode.MOBILE,
#endif
},

이렇게 세팅 해줬습니다.

@Roksan4614 Roksan4614 added the question Issue type : Question label Oct 26, 2023
@SangYun-nhn SangYun-nhn added the WebView Service : WebView label Oct 26, 2023
@Roksan4614
Copy link
Author

webview 일시정지 할 수 있도록 해주실 수 있을까요?? Pause 기능 부탁드립니다.

@taehyeon-nhn
Copy link
Contributor

안녕하세요. @Roksan4614님.
답변이 늦어져 죄송합니다.

GPM WebView에 audio pause 기능을 추가할 수 있을지 확인해보겠습니다.
해당 현상을 재현할 수 있는 방법 및 Sample code 공유 부탁드립니다.
추가로 테스트한 디바이스 종류와 iOS 버전을 확인 부탁드립니다.

감사합니다.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Issue type : Question WebView Service : WebView
Projects
None yet
Development

No branches or pull requests

3 participants