mirror of
https://github.com/ivabus/hlssimple
synced 2024-11-21 15:45:08 +03:00
Fix video size + fix link in how-to
This commit is contained in:
parent
14e1dfed76
commit
bf0ba1485f
2 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,7 @@
|
|||
<h2>How to play?</h2>
|
||||
|
||||
<ul>
|
||||
<li>If you're using Safari-based browsers (on iOS, iPadOS or macOS) <a href=\"https://caniuse.com/http-live-streaming\">(browser support)</a> you can just click "Play"</li>
|
||||
<li>If you're using Safari-based browsers (on iOS, iPadOS or macOS) <a href="https://caniuse.com/http-live-streaming">(browser support)</a> you can just click "Play"</li>
|
||||
<li>Also you can play this streams using VLCs "Open URL" and pasting link to .m3u8 file</li>
|
||||
</ul>
|
||||
|
||||
|
|
|
@ -43,7 +43,7 @@ struct Args {
|
|||
#[get("/play/<page..>")]
|
||||
fn play(page: PathBuf) -> RawHtml<String> {
|
||||
RawHtml(format!(
|
||||
"<video controls>
|
||||
"<video controls width=\"100%\">
|
||||
<source src=\"/{}\" type=\"application/x-mpegURL\">
|
||||
</video>",
|
||||
page.to_str().unwrap()
|
||||
|
|
Loading…
Reference in a new issue