vMix Forums
»
General
»
General Discussion
»
Input browser window.open()
Rank: Member
Groups: Registered
Joined: 3/19/2017(UTC) Posts: 15 Location: Canary islands, ES
Was thanked: 2 time(s) in 2 post(s)
|
Hi all,
Long time lurking around, but we are setting up our VMIX computer now and i'm trying to find out the best way to implement our workflows with the new system.
Until now, with another switcher we have been using an in-house scoring and titling system based on an HTML5 page with a green background that we fed to our mixer via HDMI. The Web Browser input seemed the best way to handle this situation (with alpha transparency instead of green screening!) but i'm running into a hickup i can't solve..
Our system is handled with a two windows method, you point the browser to the titling server, and it runs a titling control page, but the title page opens in a secondary window with the window.open javascript command, and is controlled from the fist page. Can you do this in VMIX? The ideal situation would be having the secondary titling window as a "Web browser input", and the controlling page as a regular system browser, but that is not possible, isn't it?
Another option would be to run the scoring-titling a secondary computer and sending this via NDI or even HDMI OUT, but then i lose the alpha transparencies, because there's no way to render a browser with transparent backgrounds to NDI that i know (I can do it from a Mac with a Syphon->NDI bridge, or with a secondary monitor and Desktop Capture, but both render the default background from the browser).
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 5/20/2015(UTC) Posts: 493 Location: Copenhagen, Denmark Thanks: 389 times Was thanked: 100 time(s) in 79 post(s)
|
I guess the second window that appears in your scoring system is actually it's own page (with it's own url). I guess what you could do, in a regular browser is to figure out what the url of the window is, and enter this as a browser input in vMix. Thereby, you have the content from the secondary window as a browser input.
There could perhaps be the problem that for each game, the url changes. In this case, I would recommend you to see if there is any chance that you have a opportunity to make a change in the scoring system code, meaning that instead of opening a dialog via javascript, it should instead be a regular window/tab, enabling vMix to switch to it out of the box.
Hopes this helps.
|
|
|
|
Rank: Member
Groups: Registered
Joined: 3/19/2017(UTC) Posts: 15 Location: Canary islands, ES
Was thanked: 2 time(s) in 2 post(s)
|
stigaard wrote:I guess the second window that appears in your scoring system is actually it's own page (with it's own url). I guess what you could do, in a regular browser is to figure out what the url of the window is, and enter this as a browser input in vMix. Thereby, you have the content from the secondary window as a browser input.
There could perhaps be the problem that for each game, the url changes. In this case, I would recommend you to see if there is any chance that you have a opportunity to make a change in the scoring system code, meaning that instead of opening a dialog via javascript, it should instead be a regular window/tab, enabling vMix to switch to it out of the box.
Hopes this helps. Yes, that's easy enough. Problem with this is that the first window needs to control the second one (executes javascript), and the window.open function returns a referral to the first so you can send commands to it, so the title window has to be opened by the main control window. I guess that i'll use ndi with greenscreen for now, and i'll re-do the whole system later, so both windows it comunicates via websockets or something like that.
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 9/28/2017(UTC) Posts: 4 Location: Ukraine
|
nachojimenez wrote:stigaard wrote:I guess the second window that appears in your scoring system is actually it's own page (with it's own url). I guess what you could do, in a regular browser is to figure out what the url of the window is, and enter this as a browser input in vMix. Thereby, you have the content from the secondary window as a browser input.
There could perhaps be the problem that for each game, the url changes. In this case, I would recommend you to see if there is any chance that you have a opportunity to make a change in the scoring system code, meaning that instead of opening a dialog via javascript, it should instead be a regular window/tab, enabling vMix to switch to it out of the box.
Hopes this helps. Yes, that's easy enough. Problem with this is that the first window needs to control the second one (executes javascript), and the window.open function returns a referral to the first so you can send commands to it, so the title window has to be opened by the main control window. I guess that i'll use ndi with greenscreen for now, and i'll re-do the whole system later, so both windows it comunicates via websockets or something like that. If you do not use halftone, then you can remove green color through NDI, If with semitones - try to create your own titles. In fact, XAML for title is ideal, but, I have not figured out yet how to put all the files in 1 title
|
|
|
|
vMix Forums
»
General
»
General Discussion
»
Input browser window.open()
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The vMix Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close