Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #35424
| Newsgroups | comp.lang.javascript |
|---|---|
| Subject | Re: video and cross origin |
| From | "Evertjan." <exxjxw.hannivoort@inter.nl.net> |
| References | <EImdnfkFge0ciNXGnZ2dnUU7-TPNnZ2d@westnet.com.au> <V9WdnS7wF57fsdXGnZ2dnUU7-cvNnZ2d@westnet.com.au> <XnsA91E5D922560eejj99@194.109.6.166> <87tvp3o0fy.fsf@bsb.me.uk> |
| Date | 2018-07-13 14:04 +0200 |
| Message-ID | <XnsA91E8F42C8F6Beejj99@194.109.6.166> (permalink) |
Ben Bacarisse <ben.usenet@bsb.me.uk> wrote on 13 Jul 2018 in comp.lang.javascript: > "Evertjan." <exxjxw.hannivoort@inter.nl.net> writes: > >> Andrew Poulos <ap_prog@hotmail.com> wrote on 13 Jul 2018 in >> comp.lang.javascript: >> >>> On 13/07/2018 12:59 PM, Andrew Poulos wrote: >>>> While testing locally I found that if the HTML contains a video element >>>> then the video plays as expected in Chrome. Yet if I dynamically >>>> recreate the same video element Chrome complains that >>>> >>>> "Cross origin requests are only supported for protocol schemes: http, >>>> data, chrome, chrome-extension, https." >> >> This clearly states what you are asking. >> >> Do you see "file" as one of the supported schemes? > > I think there's some miscommunication here. Andrew is asking why the > request is considered to be "cross origin" in the first place. In other > words, why does the question of whether this is a supported instance of > such a thing even come up? That's a reasonable reading of the error > message. > > Howver, I suspect you are right, and the error message is supposed to > answer the question, but the way it is worded does not do that. Maybe > the message is supposed to mean something like > > "Origin checks are only supported for protocol schemes http, data, > chrome, chrome-extension and https. All others will be taken to be > invalid cross-origin requests." Much better worded, indeed. Please don't use it for a Brexit policy definition. -- Evertjan. The Netherlands. (Please change the x'es to dots in my emailaddress)
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
video and cross origin Andrew Poulos <ap_prog@hotmail.com> - 2018-07-13 12:59 +1000
Re: video and cross origin Andrew Poulos <ap_prog@hotmail.com> - 2018-07-13 14:36 +1000
Re: video and cross origin "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2018-07-13 09:11 +0200
Re: video and cross origin Ben Bacarisse <ben.usenet@bsb.me.uk> - 2018-07-13 12:10 +0100
Re: video and cross origin "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2018-07-13 14:04 +0200
Re: video and cross origin Andrew Poulos <ap_prog@hotmail.com> - 2018-07-14 18:52 +1000
Re: video and cross origin Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2018-07-15 00:10 +0200
Re: video and cross origin "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2018-07-16 00:55 +0200
csiph-web