Comments (6)
Hey Dan,
Which URLS specifically have the wrong mime type? We'll happily fix them of course.
from mistserver.
It seems to be when I use the embed code, Initially it works fine but if I refresh it will tag incorrect mime types. I'm not sure if the embed code changes periodically which may cause the issue? I'm experiencing some erratic behaviour at the minute so I'm not entirely sure that this is the underlying issue.
from mistserver.
That's certainly weird, but which files are causing the problem?
player.js, player.css, json_stream.js, info_stream.js or is it a completely different JS / CSS file? I've been looking in my Chrome browser but they seem correct so far.
from mistserver.
Ill drop the errors i'm getting here, I've tried various methods of displaying the stream -
Cross-Origin Read Blocking (CORB) blocked cross-origin response http://212.250.60.134/embed_c23734d006c8fb72dca6a341c1201bf0bb437e38b8f28e7ba53d63e9f6a5ee64.js with MIME type text/html. See https://www.chromestatus.com/feature/5629709824032768 for more details.
livestream:307
Cross-Origin Read Blocking (CORB) blocked cross-origin response http://212.250.60.134/c23734d006c8fb72dca6a341c1201bf0bb437e38b8f28e7ba53d63e9f6a5ee64.webm with MIME type text/html. See https://www.chromestatus.com/feature/5629709824032768 for more details.
Refused to display 'http://212.250.60.134/c23734d006c8fb72dca6a341c1201bf0bb437e38b8f28e7ba53d63e9f6a5ee64.html' in a frame because it set 'X-Frame-Options' to 'sameorigin'.
player.js:1028 Resource interpreted as Stylesheet but transferred with MIME type text/html: "http://212.250.60.134/player.css".
mistPlay @ player.js:1028
a @ livestream:309
load (async)
(anonymous) @ livestream:320
player.js:1028
Cross-Origin Read Blocking (CORB) blocked cross-origin response http://212.250.60.134/player.css with MIME type text/html. See https://www.chromestatus.com/feature/5629709824032768 for more details.
mistPlay @ player.js:1028
a @ livestream:309
load (async)
(anonymous) @ livestream:320
player.js:1486
Cross-Origin Read Blocking (CORB) blocked cross-origin response http://212.250.60.134/info_c23734d006c8fb72dca6a341c1201bf0bb437e38b8f28e7ba53d63e9f6a5ee64.js with MIME type text/html. See https://www.chromestatus.com/feature/5629709824032768 for more details.
Maybe these are just covering up some other fundamental error, but it does occasionally work which is strange.
from mistserver.
Hmm...
Do you happen to have a forwarding proxy or something like that in there as well?
The MIME types seem to be set correctly as far as I can see in the code itself. Especially the .webm returning text/html is weird.
from mistserver.
Looking into this, it seems that the problem is that the embed is displayed inside an HTML iframe, with the parent page setting the option "X-Frame-Options: sameorigin". This means it will refuse to load anything coming from a different host/port combination than the parent website itself.
If possible, remove that option. If that is not possible, it might be easiest to reverse-proxy Mist through your website to avoid the issue altogether. See this article for more details: https://news.mistserver.org/news/81/Using+MistServer+through+a+reverse+proxy
Hopefully that takes care of your issue! If you need further help, feel free to re-open this. 👍
from mistserver.
Related Issues (20)
- Redact credentials in logs for S3 Object Store URLs
- [VoD]Stream will be offline after 30s when previewing VoD with "Simulated Live" enabled
- [VoD] stream `always_on` option has weird behaviors
- To configure LLHLS as output
- mistserv.conf is not loaded HOT 8
- Clean Build - Ubuntu 20.04 HOT 8
- Audio-only RTMP/HLS bug in 3.2 HOT 10
- "ERROR: Overwriting old page for..." HOT 4
- Is there an opportunity to allow ffmpeg transcoder use nvidia nvenc coder?! It will be great! HOT 6
- Unusable TSSRT - multiple streams over one port HOT 11
- USER_NEW trigger ignores streams from list after certain point
- Decrease or remove at all load time buffer HOT 1
- timeouts on catalyst branch HOT 3
- Warning: "unreachable code after return statement" HOT 1
- [bug] Changing Http Output port do not change embedded port
- [bug] MistSession creating many many audio tracks HOT 2
- Any possibility to send stream without registering it first HOT 4
- Stream Name - using only numbers <imei> HOT 3
- how to convert from UDP to HLS(m3u8) HOT 1
- HLS (.m3u8) working fine in 3.2.2, but not in 3.3 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mistserver.