Posts: 7
Threads: 2
Joined: Nov 2018
Reputation:
0
Location: Brazil
Hello guys.
What should I make to be able to fast forward audio or video files using intraweb ? I'm using Central Guest components as well with the same behavior. O ask them and they told me that it's a server feature called "206 partial content" that is not been generated by the server to the browser.
How can I configure this on intraweb ?
Posts: 1,136
Threads: 37
Joined: Mar 2018
Reputation:
30
Location: Limassol, Cyprus
You would need to serve the audio and video data from IIS or Apache which support this feature and then link to that from your IW app.
Posts: 7
Threads: 2
Joined: Nov 2018
Reputation:
0
Location: Brazil
Ok But if I'm using stand alone server ? How can I do this ?
Posts: 1,136
Threads: 37
Joined: Mar 2018
Reputation:
30
Location: Limassol, Cyprus
SA servers do not implement every (especially optional) HTTP commands. Without looking Im quite certain it does not support what you ask.
You will need to deploy on IIS, have a companion IIS server to serve the audio files, or extend SA yourself which would not be trivial.
Posts: 1,136
Threads: 37
Joined: Mar 2018
Reputation:
30
Location: Limassol, Cyprus
You could fetch it manually using JS in your IW app to cause it to be cached.
Posts: 1,136
Threads: 37
Joined: Mar 2018
Reputation:
30
Location: Limassol, Cyprus
It would need some testing, but I would start with simple HS that does an HTTP fetch on the resource. Then it should be cached by the browser so when the audio component references it, it will pull it from the cache rather than download it.
Posts: 7
Threads: 2
Joined: Nov 2018
Reputation:
0
Location: Brazil
I have tried that. It simply does not work. The same HTML/JS works fine outside IW.
Posts: 1,136
Threads: 37
Joined: Mar 2018
Reputation:
30
Location: Limassol, Cyprus
If "the same" works outside, then its not the same. IntraWeb is just standard HTML/JS in the end.
Use view source or better yet the DOM explorer in Chrome and verify that:
1) The JS is loading the audio resource before IWAudio does and that the URL you are using is not marking it as non cacheable.
2) Check your cache, and make sure its there.
3) Check that the URL IWAudio is using is identical to the preloaded one *including* case.