Download packages/tauri/examples/streaming/index.html from echodict/readest: direct link, hf CLI and curl.
- Browser
- Download file 830 Bytes
-
https://huggingface.co/datasets/echodict/readest/resolve/main/packages/tauri/examples/streaming/index.html
- Command line
-
hf download hf://datasets/echodict/readest/packages/tauri/examples/streaming/index.html
-
curl -L -o index.html https://huggingface.co/datasets/echodict/readest/resolve/main/packages/tauri/examples/streaming/index.html
830 Bytes
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
| <style> | |
| body { | |
| margin: unset; | |
| overflow: hidden; | |
| } | |
| video { | |
| width: 100vw; | |
| height: 100vh; | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <video id="video_source" controls="" autoplay="" name="media"> | |
| <source type="video/mp4" /> | |
| </video> | |
| <script> | |
| const { invoke, convertFileSrc } = window.__TAURI__.core | |
| const video = document.getElementById('video_source') | |
| const source = document.createElement('source') | |
| source.type = 'video/mp4' | |
| source.src = convertFileSrc('streaming_example_test_video.mp4', 'stream') | |
| video.appendChild(source) | |
| video.load() | |
| </script> | |
| </body> | |
| </html> | |