Generic Onebox query string parameters


#1

When discourse oneboxes URL, it doesn’t include query string in oembed request

  1. I onebox metr
  2. Onebox sends following request to the server:
    | GET /oembed?url=https://metr.at/r/eMJRR&format=json
  3. Instead I would like onebox to send this:
    | GET /oembed?url=https://metr.at/r/eMJRR?zoom_start=2&zoom_end=5&format=json

Is it a bug or supposed to be like this?


(Jeff Atwood) #2

It is weird for query strings to be relevant to a onebox request.


#3

Well, maybe it is uncommon, but I don’t think it is wrong. Why not pass query string together with the request?


(Kane York) #4

Hmm, we do parsing for Youtube URLs though.