Browse Source

fix video player time display

Luke Pulverenti 10 years ago
parent
commit
0b721f2e05

+ 2 - 1
MediaBrowser.Api/BaseApiService.cs

@@ -362,7 +362,8 @@ namespace MediaBrowser.Api
             var first = pathInfo.GetArgumentValue<string>(0);
 
             // backwards compatibility
-            if (string.Equals(first, "mediabrowser", StringComparison.OrdinalIgnoreCase))
+            if (string.Equals(first, "mediabrowser", StringComparison.OrdinalIgnoreCase) ||
+                string.Equals(first, "emby", StringComparison.OrdinalIgnoreCase))
             {
                 index++;
             }

+ 1 - 1
MediaBrowser.Server.Implementations/HttpServer/ResponseFilter.cs

@@ -33,7 +33,7 @@ namespace MediaBrowser.Server.Implementations.HttpServer
 
             if (_denyIframeEmbedding())
             {
-                res.AddHeader("X-Frame-Options", "DENY");
+                res.AddHeader("X-Frame-Options", "SAMEORIGIN");
             }
 
             var exception = dto as Exception;

+ 0 - 2
MediaBrowser.WebDashboard/Api/PackageCreator.cs

@@ -657,8 +657,6 @@ namespace MediaBrowser.WebDashboard.Api
                                       "librarymenu.css",
                                       "librarybrowser.css",
                                       "card.css",
-                                      "tileitem.css",
-                                      "metadataeditor.css",
                                       "notifications.css",
                                       "search.css",
                                       "pluginupdates.css",