mirror of
https://github.com/dirtydishes/dreamio.git
synced 2026-06-07 13:58:15 +00:00
fix native playback build blockers
This commit is contained in:
parent
d28540ce98
commit
b15e4d640e
5 changed files with 48 additions and 2 deletions
|
|
@ -54,7 +54,7 @@ final class DreamioWebViewController: UIViewController {
|
|||
private var lastNativePlaybackURL: URL?
|
||||
|
||||
private static let streamCandidateScript = WKUserScript(
|
||||
source: """
|
||||
source: #"""
|
||||
(() => {
|
||||
if (window.__dreamioStreamBridgeInstalled) {
|
||||
return;
|
||||
|
|
@ -181,7 +181,7 @@ final class DreamioWebViewController: UIViewController {
|
|||
|
||||
inspectMedia(document);
|
||||
})();
|
||||
""",
|
||||
"""#,
|
||||
injectionTime: .atDocumentStart,
|
||||
forMainFrameOnly: false
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue