Skip to main content
1-Visitor
August 16, 2017
Question

HTML5 Video error

  • August 16, 2017
  • 2 replies
  • 2738 views

HI

I import the HTML5Video widget to ThingWorx platform, and the extension management shows it imports successfully. But when I want to show the local video (.mp4 file), I am sure I set the right file location. the Mashup shows nothing. I refresh the ThingWorx platform, reload the widget again and again

And the application log shows nothing.

But the page Show/Hide log tells me that:

12:36:30 ERROR - TW.Runtime.Workspace.Mashups.getWidget exception loading widget {   name: Error,12:36:30 ERROR - TW.Runtime.Workspace.Mashups.getWidget exception loading widget {   name: Error,   message: HTML5Videodoesn't exist   message: HTML5Videodoesn't exist

My Thingworx platform version: 7.1.2-b6. Looking forward to you reply. Thanks a lot.

2 replies

13-Aquamarine
August 16, 2017

Hi Yijun ,

The user guide says that the location should be something like http://localhost/Thingworx/aaa.mp4 if the file can be accessed from the internet directly. Also refer to the User Guide for browser compatibility.

19-Tanzanite
August 21, 2017

Hi Yijun,

Whenever you see messages like "HTML5Videodoesn't exist" please Ctrl+F5, or clear the browser cache.

The message is displayed because you (the page) are/is still using the older Extensions JS, which doesn't contain the code for the widget you just imported.

ydai1-VisitorAuthor
1-Visitor
August 28, 2017

Thanks. I clear the browser cache, delete the Thingworx files in Tomcat. It works now.