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.
1 parent e0a9733 commit b2f787cCopy full SHA for b2f787c
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