Skip to content

Commit

Permalink
fix(examples): streaming file path
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasfernog committed Aug 27, 2024
1 parent 70306dc commit dc0612b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/streaming/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion examples/streaming/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
}
}
},
Expand Down

0 comments on commit dc0612b

Please sign in to comment.