Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
Hello,
I have a video file in path: http://localhost/Thingworx/FileRepositories/myRepository/myVideo.mp4
I tried to use this url in my HTML5 Video tag as a source src.
Video starts, but I cannot seek on slider.
When I try to manually set the currentTime value in JS, it resets to Zero immediately.
When I try to send a request with 'Range' header, it always responds with full content.
My TWX runs on Tomcat server.
I tried to edit web.xml file by setting the useAcceptRanges and allowPartialPut on true, but it didn't help.
I think it's an Partial Content issue, but how can I fix it?
Solved! Go to Solution.
Hi @mett, HTTP range has been partially implemented in 9.0.
https://www.ptc.com/en/support/article/CS324359
More advanced range options will be support in a future patch release of 8.5 (backport of the feature) and 9.0.
Hi @mett, I think ThingWorx does not support streaming videos. The attributes you set in web.xml are for the default servlet.
I guess you can post an Idea to request for this functionality:
https://community.ptc.com/t5/ThingWorx-Ideas/idb-p/thingworxideas
Thank you, but the button "Suggest an Idea" is disabled
Hi @mett, HTTP range has been partially implemented in 9.0.
https://www.ptc.com/en/support/article/CS324359
More advanced range options will be support in a future patch release of 8.5 (backport of the feature) and 9.0.