diff --git a/src/components/BootstrapBlazor.Player/BootstrapBlazor.Player.csproj b/src/components/BootstrapBlazor.Player/BootstrapBlazor.Player.csproj index 62e3055c..4acc72e4 100644 --- a/src/components/BootstrapBlazor.Player/BootstrapBlazor.Player.csproj +++ b/src/components/BootstrapBlazor.Player/BootstrapBlazor.Player.csproj @@ -1,5 +1,9 @@ + + 10.0.1 + + Bootstrap Blazor WebAssembly wasm UI Components Video Player Bootstrap UI components extensions of Plyr diff --git a/src/components/BootstrapBlazor.Player/Player.razor.js b/src/components/BootstrapBlazor.Player/Player.razor.js index 1d6f1ae8..a82c32ef 100644 --- a/src/components/BootstrapBlazor.Player/Player.razor.js +++ b/src/components/BootstrapBlazor.Player/Player.razor.js @@ -1,4 +1,4 @@ -import './plyr.js'; +import './plyr.js'; import './hls.js'; import { addLink, addScript } from '../BootstrapBlazor/modules/utility.js'; import Data from '../BootstrapBlazor/modules/data.js'; @@ -106,7 +106,7 @@ export function dispose(id) { const { player } = p; if (player) { player.destroy(); - player = null; + delete p.player; } } }