Sorry for the wait: I've looked around in Wix and I think I might've spotted the problem.
The video that worked before, was that by any chance a video file? From what it looks like Wix doesn't support any video unless they're uploaded to Wix itself, meaning live streaming is impossible when using Wix. On demand streaming should work however, but only through Wix, which limits you to using the format the file already has (as in MP4 files will only be available as MP4 files and so on).
From what I can find they're saying it "might" be possible by embedding an HTML script that loads the video, which is what our embed code should do. In our experience however webkits like Wix tend to block or change most of the HTML scripts which would end up with the stream not working.
The bare minimums you need in HTML for the embed code to work are:
HTML tags
- full <video> tag support or <iframe> tag support
- <object> tag support (for flash protocols)
- <embed> tag support (for flash protocols)
Cross domain access to the address and ports
- Cross domain access to the server that is running MistServer; both address and ports (The address is where Wix can find MistServer over network, the default ports are: 1935 (RTMP), 8080 (HTTP), set at the protocols window).
Do note that if they're running on the same server the access might still be blocked, be sure to check any firewalls or other restrictions you might have.
The best option would be to have the full embed code working, which requires Javascript as well.
Javascript
- Element creation without restrictions
If you could ask the Wix support team how to enable these features for a single page, or where necessary the whole server/website, you shouldn't have any problems.