We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 15df01c + b2f787c commit cade168Copy full SHA for cade168
src/UmbracoFileSystemProviders.Azure/FileSystemVirtualFile.cs
@@ -65,6 +65,9 @@ public override Stream Open()
65
cache.SetCacheability(HttpCacheability.Public);
66
cache.VaryByHeaders["Accept-Encoding"] = true;
67
68
+ // Add Accept-Ranges header to fix videos not playing on Safari
69
+ HttpContext.Current.Response.AppendHeader("Accept-Ranges", "bytes");
70
+
71
IFileSystem azureBlobFileSystem = FileSystemProviderManager.Current.GetUnderlyingFileSystemProvider("media");
72
int maxDays = ((AzureBlobFileSystem)azureBlobFileSystem).FileSystem.MaxDays;
73
0 commit comments