Skip to main content
5-Regular Member
Mar 20, 2020 12:26 PM UTC
Solved

Video/Audio/Image from Google Drive

Hi,

 

Am trying to load a video/audio/image file as a resource on the click of a button in runtime from an external source like a google drive. 

 

Can someone help me with how it can be achieved?

 

Avinash

18-Opal
Mar 23, 2020 5:03 PM UTC

Can you access the resource using a standard URL? If so, then you should be able to simply set the "src" property (or similar property, different widgets use different property names for this) on the widget to point to the URL and it should work. We've used this to dynamically load images from a Thingworx FileRepository thing and it works fine.

1 reply

18-Opal
Mar 23, 2020 5:03 PM UTC

Can you access the resource using a standard URL? If so, then you should be able to simply set the "src" property (or similar property, different widgets use different property names for this) on the widget to point to the URL and it should work. We've used this to dynamically load images from a Thingworx FileRepository thing and it works fine.

Translate