mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-11-23 19:52:31 +03:00
fix(examples): streaming file path
This commit is contained in:
parent
70306dc79b
commit
dc0612b156
@ -25,7 +25,7 @@
|
||||
const video = document.getElementById('video_source')
|
||||
const source = document.createElement('source')
|
||||
source.type = 'video/mp4'
|
||||
source.src = convertFileSrc('test_video.mp4', 'stream')
|
||||
source.src = convertFileSrc('streaming_example_test_video.mp4', 'stream')
|
||||
video.appendChild(source)
|
||||
video.load()
|
||||
</script>
|
||||
|
@ -18,7 +18,7 @@
|
||||
"security": {
|
||||
"csp": "default-src 'self'; connect-src ipc: http://ipc.localhost; media-src stream: http://stream.localhost",
|
||||
"assetProtocol": {
|
||||
"scope": ["**/test_video.mp4"]
|
||||
"scope": ["**/streaming_example_test_video.mp4"]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user