|
|
|
@ -2689,6 +2689,18 @@ options "/videoplayback/*" do |env|
|
|
|
|
|
env.response.headers["Access-Control-Allow-Headers"] = "Content-Type, range"
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
options "/api/manifest/dash/id/videoplayback" do |env|
|
|
|
|
|
env.response.headers["Access-Control-Allow-Origin"] = "*"
|
|
|
|
|
env.response.headers["Access-Control-Allow-Methods"] = "GET"
|
|
|
|
|
env.response.headers["Access-Control-Allow-Headers"] = "Content-Type, range"
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
options "/api/manifest/dash/id/videoplayback/*" do |env|
|
|
|
|
|
env.response.headers["Access-Control-Allow-Origin"] = "*"
|
|
|
|
|
env.response.headers["Access-Control-Allow-Methods"] = "GET"
|
|
|
|
|
env.response.headers["Access-Control-Allow-Headers"] = "Content-Type, range"
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
get "/videoplayback/*" do |env|
|
|
|
|
|
path = env.request.path
|
|
|
|
|
|
|
|
|
|