You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In long videos, for example, in videos lasting 1 or 1.5 hours, when skipping to any minute or skipping fast forward, the video gets stuck and does not progress. What settings need to be changed? This is the code I tried:
<video id="videoElement" controls width="640" height="560" muted data-url="{{ $url }}"
data-duration="{{ $duration }}">
<script src="https://cdn.jsdelivr.net/npm/flv.js@^1.6.2/dist/flv.min.js"></script>
<script>
if (flvjs.isSupported()) {
var url = document.getElementById('videoElement').getAttribute('data-url');
var duration = document.getElementById('videoElement').getAttribute('data-duration');
var videoElement = document.getElementById('videoElement');
var flvPlayer = flvjs.createPlayer({
type: 'flv',
url: url,
duration: duration,
isLive: true,
});
flvPlayer.attachMediaElement(videoElement);
flvPlayer.load();
flvPlayer.play();
}
</script>
The text was updated successfully, but these errors were encountered:
In long videos, for example, in videos lasting 1 or 1.5 hours, when skipping to any minute or skipping fast forward, the video gets stuck and does not progress. What settings need to be changed? This is the code I tried:
The text was updated successfully, but these errors were encountered: