diff --git a/main.js b/main.js index e3202fb..4a7b76c 100644 --- a/main.js +++ b/main.js @@ -220,21 +220,8 @@ if (window.obsstudio){ log("macOS: "+navigator.userAgent.indexOf('Mac OS X') != -1); log(window.obsstudio); - if (!(urlParams.has('streamlabs'))){ - - var ver1 = window.obsstudio.pluginVersion; - ver1 = ver1.split("."); - updateURL("streamlabs"); - if (ver1.length == 3){ // Should be 3, but disabled3 - if ((ver1.length == 3) && (parseInt(ver1[0])==2) && (parseInt(ver1[1])>4) && (navigator.userAgent.indexOf('Mac OS X') != -1)){ - getById("main").innerHTML = "

On macOS, Please use the Electron Capture app, or OBS v23, as newer versions of OBS are not supported currently on macOS.

\ -

You can find details within our wiki guide - https://github.com/steveseguin/obsninja/wiki/FAQ#mac-os

\ -
If using OBS v23 or Streamlabs, you can bypass this error message by refreshing, Clicking Here, or by adding &streamlabs to the URL.\ -
Please report this problem to steve@seguin.email if you feel it is an error.\ -
"; - } - } - } + // Upgrade to OBS v26.1.2 to obtain native support for OBS.Ninja. + } catch(e){errorlog(e);} window.addEventListener('obsSceneChanged', function(event){ @@ -6135,4 +6122,4 @@ function recordVideo(target, event, videoKbps = false, interval=30){ // event.c video.recorder.mediaRecorder.start(100); // 100ms chunks return; -} \ No newline at end of file +}