The Free Software Media System - Server Backend & API
upgrade to videoJS 4.0
Techywarrior73e256e9109d
diff --git a/MediaBrowser.WebDashboard/Api/DashboardService.cs b/MediaBrowser.WebDashboard/Api/DashboardService.csindex 683ecda978..b90553e2e1 100644--- a/MediaBrowser.WebDashboard/Api/DashboardService.cs+++ b/MediaBrowser.WebDashboard/Api/DashboardService.cs@@ -409,8 +409,8 @@ namespace MediaBrowser.WebDashboard.Apivar files = new[]{"http://code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.min.css",- "thirdparty/video-js-3.2.0/video-js.min.css",- "thirdparty/video-js-3.2.0/video-js.tube.min.css",+ "thirdparty/video-js-4.0/video-js.min.css",+ "thirdparty/video-js-4.0/video-js.tube.min.css","thirdparty/jqm-icon-pack-3.0/font-awesome/jqm-icon-pack-3.0.0-fa.css","css/all.css" + versionString};@@ -519,7 +519,7 @@ namespace MediaBrowser.WebDashboard.Apivar newLineBytes = Encoding.UTF8.GetBytes(Environment.NewLine);- await AppendResource(memoryStream, "thirdparty/video-js-3.2.0/video.min.js", newLineBytes).ConfigureAwait(false);+ await AppendResource(memoryStream, "thirdparty/video-js-4.0/video.min.js", newLineBytes).ConfigureAwait(false);await AppendResource(memoryStream, "thirdparty/autoNumeric.js", newLineBytes).ConfigureAwait(false);await AppendResource(assembly, memoryStream, "MediaBrowser.WebDashboard.ApiClient.js", newLineBytes).ConfigureAwait(false);diff --git a/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj b/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csprojindex d29f0e8a79..dbf0e90e28 100644--- a/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj+++ b/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj@@ -446,6 +446,27 @@<Content Include="dashboard-ui\thirdparty\video-js-3.2.0\video.min.js"><CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory></Content>+ <Content Include="dashboard-ui\thirdparty\video-js-4.0\demo.html">+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>+ </Content>+ <Content Include="dashboard-ui\thirdparty\video-js-4.0\tubesprite.png">+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>+ </Content>+ <Content Include="dashboard-ui\thirdparty\video-js-4.0\video-js.css">+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>+ </Content>+ <Content Include="dashboard-ui\thirdparty\video-js-4.0\video-js.swf">+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>+ </Content>+ <Content Include="dashboard-ui\thirdparty\video-js-4.0\video-js.tube.min.css">+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>+ </Content>+ <Content Include="dashboard-ui\thirdparty\video-js-4.0\video.dev.js">+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>+ </Content>+ <Content Include="dashboard-ui\thirdparty\video-js-4.0\video.js">+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>+ </Content><Content Include="dashboard-ui\tvgenres.html"><CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory></Content>@@ -988,6 +1009,9 @@<None Include="dashboard-ui\thirdparty\video-js-3.2.0\captions.vtt"><CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory></None>+ <None Include="dashboard-ui\thirdparty\video-js-4.0\demo.captions.vtt">+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>+ </None><None Include="packages.config" /></ItemGroup><ItemGroup />