-
-
Notifications
You must be signed in to change notification settings - Fork 532
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
198 changed files
with
4,506 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
5 changes: 5 additions & 0 deletions
5
Documentation/Blazorise.Docs/Pages/Docs/Extensions/Video/Code/VideoHlsExampleCode.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<div class="blazorise-codeblock"> | ||
<div class="html"><pre> | ||
<span class="htmlTagDelimiter"><</span><span class="htmlElementName">Video</span> <span class="htmlAttributeName">Source</span><span class="htmlOperator">=</span><span class="quot">"</span><span class="htmlAttributeValue"><span class="atSign">@</span>("https://test-streams.mux.dev/x36xhzz/x36xhzz.m3u8")</span><span class="quot">"</span> <span class="htmlAttributeName">StreamingLibrary</span><span class="htmlOperator">=</span><span class="quot">"</span><span class="enum">StreamingLibrary</span><span class="enumValue">.Hls</span><span class="quot">"</span> <span class="htmlTagDelimiter">/></span> | ||
</pre></div> | ||
</div> |
File renamed without changes.
3 changes: 3 additions & 0 deletions
3
Documentation/Blazorise.Docs/Pages/Docs/Extensions/Video/Examples/VideoHlsExample.razor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
@namespace Blazorise.Docs.Docs.Examples | ||
|
||
<Video Source="@("https://test-streams.mux.dev/x36xhzz/x36xhzz.m3u8")" StreamingLibrary="StreamingLibrary.Hls" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
8 changes: 8 additions & 0 deletions
8
Source/Extensions/Blazorise.Video/wwwroot/vendors/vidstack/captions.js
Large diffs are not rendered by default.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
Source/Extensions/Blazorise.Video/wwwroot/vendors/vidstack/captions/prod.js
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
70 changes: 70 additions & 0 deletions
70
Source/Extensions/Blazorise.Video/wwwroot/vendors/vidstack/captions/prod/errors.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
import { P as ParseError, c as ParseErrorCode } from './index.js'; | ||
|
||
const ParseErrorBuilder = { | ||
r() { | ||
return new ParseError({ | ||
code: ParseErrorCode.BadSignature, | ||
reason: "missing WEBVTT file header", | ||
line: 1 | ||
}); | ||
}, | ||
s(startTime, line) { | ||
return new ParseError({ | ||
code: ParseErrorCode.BadTimestamp, | ||
reason: `cue start timestamp \`${startTime}\` is invalid on line ${line}`, | ||
line | ||
}); | ||
}, | ||
t(endTime, line) { | ||
return new ParseError({ | ||
code: ParseErrorCode.BadTimestamp, | ||
reason: `cue end timestamp \`${endTime}\` is invalid on line ${line}`, | ||
line | ||
}); | ||
}, | ||
u(startTime, endTime, line) { | ||
return new ParseError({ | ||
code: ParseErrorCode.BadTimestamp, | ||
reason: `cue end timestamp \`${endTime}\` is greater than start \`${startTime}\` on line ${line}`, | ||
line | ||
}); | ||
}, | ||
y(name, value, line) { | ||
return new ParseError({ | ||
code: ParseErrorCode.BadSettingValue, | ||
reason: `invalid value for cue setting \`${name}\` on line ${line} (value: ${value})`, | ||
line | ||
}); | ||
}, | ||
x(name, value, line) { | ||
return new ParseError({ | ||
code: ParseErrorCode.UnknownSetting, | ||
reason: `unknown cue setting \`${name}\` on line ${line} (value: ${value})`, | ||
line | ||
}); | ||
}, | ||
w(name, value, line) { | ||
return new ParseError({ | ||
code: ParseErrorCode.BadSettingValue, | ||
reason: `invalid value for region setting \`${name}\` on line ${line} (value: ${value})`, | ||
line | ||
}); | ||
}, | ||
v(name, value, line) { | ||
return new ParseError({ | ||
code: ParseErrorCode.UnknownSetting, | ||
reason: `unknown region setting \`${name}\` on line ${line} (value: ${value})`, | ||
line | ||
}); | ||
}, | ||
// SSA-specific errors | ||
T(type, line) { | ||
return new ParseError({ | ||
code: ParseErrorCode.BadFormat, | ||
reason: `format missing for \`${type}\` block on line ${line}`, | ||
line | ||
}); | ||
} | ||
}; | ||
|
||
export { ParseErrorBuilder }; |
Oops, something went wrong.