Skip to main content
5-Regular Member
March 20, 2020
Solved

Video/Audio/Image from Google Drive

  • March 20, 2020
  • 1 reply
  • 1019 views

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

Best answer by ClayHelberg

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
March 23, 2020

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.