cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

FileRepository - Partial Content Requests - Unable to seek video.

mett
10-Marble

FileRepository - Partial Content Requests - Unable to seek video.

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?

ACCEPTED SOLUTION

Accepted Solutions
smainente
16-Pearl
(To:mett)

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.

View solution in original post

3 REPLIES 3
CharlesJi
15-Moonstone
(To:mett)

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

mett
10-Marble
(To:CharlesJi)

Thank you, but the button "Suggest an Idea" is disabled

disabled.png

smainente
16-Pearl
(To:mett)

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.

Announcements


Top Tags