Forum Discussion

kdunlop's avatar
kdunlop
Visitor
7 years ago

Local USB playback

I have content for my church I'm playing on a custom channel. We have a campus in a middle school that may not let us have our device open to vimeo where I'm pulling videos from. I'm using the JSON code to play the videos now. Is there a way to link to a local usb file instead in this same code instead of Vimeo? Thanks for your help.

6 Replies

  • I think that would depend on determining the location of the USB when it is attached to the device. A video url does not care if it points to a local file or an internet resource. Once you have the location, you should be able to use it in your Json feed file.
  • "Baradanikto" wrote:
    I think that would depend on determining the location of the USB when it is attached to the device. A video url does not care if it points to a local file or an internet resource. Once you have the location, you should be able to use it in your Json feed file.

    Easy way to find this? Thanks!
  • Not sure. I'd probably start looking under the settings in the Roku device.
  • It is ext7:// it looks like within one of the other channel players. 

    {"id":"20170723","title":"Week 4","shortDescription":"Test Test1","thumbnail":"http://www.krisdunlop.com/tpccrss/GTR4.jpg","genres":["faith"],"tags":["faith"],"releaseDate":"2018-07-23","content":{"dateAdded":"2017-07-23T14:14:54.431Z","captions":[],"duration":2703,"videos":[{"url":"https://player.vimeo.com}},


    I have replaced the bold text so not to have the vimeo code to our video. So, since this is a true url, how do I change it to file ext7
  • 'https' is just another protocol to a resource. I would expect it to be as simple as substituting 'ext7' for 'https' in your url. The device should be able to resolve the file location assuming the USB is plugged in.
  • Yeah, direct publisher doesn't like that when I reload the feed.