var player = document.getElementById('hls-player'); var url = 'https://anorigin.vodalys.com/videos/definst/mp4/ida/domain1/2023/03/hemi_20230328145549_1.mp4/master.m3u8'; if(Hls.isSupported()) {var hls = new Hls(); hls.loadSource(url); hls.attachMedia(player); } else {player.setAttribute('src', url); } player.addEventListener('loadeddata', function() {player.currentTime = 321.93;} );