mirror of
				https://github.com/iv-org/invidious.git
				synced 2025-10-31 12:42:09 +00:00 
			
		
		
		
	Add dashUrl to /api/v1/videos
This commit is contained in:
		| @@ -3036,6 +3036,8 @@ get "/api/v1/videos/:id" do |env| | ||||
|         json.field "hlsUrl", hlsvp | ||||
|       end | ||||
|  | ||||
|       json.field "dashUrl", "#{make_host_url(config, Kemal.config)}/api/manifest/dash/id/#{id}" | ||||
|  | ||||
|       json.field "adaptiveFormats" do | ||||
|         json.array do | ||||
|           adaptive_fmts.each do |fmt| | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Omar Roth
					Omar Roth