playMaker

Author Topic: Array List Proxy: Video support  (Read 252 times)

Alatriste

  • Full Member
  • ***
  • Posts: 191
    • View Profile
Array List Proxy: Video support
« on: March 31, 2020, 07:21:01 AM »
I think right now it's not possible to create an array list prefilled with the video type. It would be nice to support this in a future update.

In my case, I have a bunch of videos I'd like to put in an ArrayList but I don't see an easy way to do it during runtime.

Thanks!
« Last Edit: March 31, 2020, 07:36:15 AM by Alatriste »

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 4968
    • View Profile
    • jinxtergames
Re: Array List Proxy: Video support
« Reply #1 on: March 31, 2020, 07:37:12 AM »
Hi.
Pre-fill other object types can indeed be useful in some cases.

But i am not sure if you want to set a list of videos as that might take up a lot of memory.
I am not sure about this tho, if they would be loaded in or not.

If so, it might be better to have a list of the Path strings inside Resources folder and load in the videos when needed (using resources load).

Alatriste

  • Full Member
  • ***
  • Posts: 191
    • View Profile
Re: Array List Proxy: Video support
« Reply #2 on: March 31, 2020, 08:59:32 AM »
Mmmm... That might be another option!

Thanks djaydino!

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15224
  • Official Playmaker Support
    • View Profile
Re: Array List Proxy: Video support
« Reply #3 on: April 27, 2020, 11:31:58 PM »
Hi,

 indeed, yes always use Resources or streaming assets folder  and use their path to your assets that are not supported.

Bye,

 Jean