# Problem with looping http hosted files

**URL:** <https://qa.fmod.com/t/problem-with-looping-http-hosted-files/15415>\
**Category:** FMOD Engine\
**Created:** [January 28, 2020, 12:19pm UTC](https://qa.fmod.com/t/problem-with-looping-http-hosted-files/15415 "2020-01-28T12:19:04Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![joshechoes](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/joshechoes/32/558_2.png) [@joshechoes](https://qa.fmod.com/u/joshechoes)\
**Post date:** [February 5, 2020, 12:25pm UTC](https://qa.fmod.com/t/problem-with-looping-http-hosted-files/15415/5 "2020-02-05T12:25:41Z")

</div>

Hi Brett, thanks for this. It’s not HLS, it’s just a file hosted on https (perhaps I’m confused about the nomenclature here!). As it is, I’m seriously confused as to why seeking doesn’t work - you can seek most files whenever there’s an Accept-Ranges header available, which there is in this case.

[https://content.echoes.xyz/media/sounds/z9gsDcP2OPDTwDX7/60nkpb6fxtcrawk2.ogg](https://content.echoes.xyz/media/sounds/z9gsDcP2OPDTwDX7/60nkpb6fxtcrawk2.ogg)

that one above definitely has one, and the embedded media player in the page actually seeks it fine.

This post also raises a similar question [NetStream Loop?](https://qa.fmod.com/t/netstream-loop/15101/5)

For the looping, I just add the `FMOD_LOOP_NORMAL` flag. If you do this in the `play_stream` example, the player actually shows the timecode for the file continually looping, but the sound just stops.

I’d like to know if it’s  
a) impossible to loop http(s) hosted files using the standard fmod methods or  
b) just a bug, or missing header, or another issue

As a side note, ExoPlayer, AVAudioPlayer, and VLCKit all support seeking and looping over http(s) with most filetypes.

---

_[View the full topic](https://qa.fmod.com/t/problem-with-looping-http-hosted-files/15415)._
