diff --git a/README.md b/README.md index 7eff1fb..de01200 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,7 @@ The easiest html5 `video` implementation for [Blazor](https://blazor.net) applic - Add standard Methods and Properties (big thanks to https://github.com/JPVenson) and Async versions (for Server/WASM). (Issues #17 #9) - Include video element id ("Id") and component object ref ("Video") in VideoState and VideoEventData (Issue #19) for identifying which component triggered an event. + ## Getting Setup You can install the package via the nuget package manager - just search for *Blazored.Video*. You can also install via powershell using the following command. diff --git a/src/Blazored.Video/BlazoredVideo.razor.Properties.cs b/src/Blazored.Video/BlazoredVideo.razor.Properties.cs index acfba34..3c8a1c0 100644 --- a/src/Blazored.Video/BlazoredVideo.razor.Properties.cs +++ b/src/Blazored.Video/BlazoredVideo.razor.Properties.cs @@ -57,9 +57,9 @@ public string CurrentSrc /// /// Sets or returns the current playback position in the audio/video (in seconds) /// - public int CurrentTime + public double CurrentTime { - get { return GetValue(); } + get { return GetValue(); } set { SetValue(value); } } @@ -82,9 +82,9 @@ public double DefaultPlaybackRate /// /// Returns the length of the current audio/video (in seconds) /// - public int Duration + public double Duration { - get { return GetValue(); } + get { return GetValue(); } } ///