Skip to content

Commit

Permalink
Try add header Content-Type: video/x-flv
Browse files Browse the repository at this point in the history
  • Loading branch information
zorglube committed Mar 3, 2024
1 parent 86cb60b commit 83eeb3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static/js/video.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function initPlayer() {
url: '/live',
isLive: true
}, {
headers: {"content-length":"1234", "zorglube":"test-test"}
headers: {"content-length":"1234", "zorglube":"test-test", "Content-Type": "video/x-flv"}
});
flvPlayer.attachMediaElement(videoElement);
flvPlayer.load();
Expand Down

0 comments on commit 83eeb3d

Please sign in to comment.