Author Topic: Play SkyDive Videos- Buttons play videos from external folder.  (Read 5419 times)

Mickman

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 18
    • View Profile
Hi,

  Q.  How do I populate a drop down list to update the menu items labels to reflect the names of video files in an external folder ?    

    Overview:  I'm working at a skydiving centre -  customers who have just landed are able to view a short clip of their jump.. a sample clip that's in MP4 format. normally we screen each clip on a big screen & all clips in the folder simply keep looping... but

 I'm trying to develop a touch screen interface where customers choose & play their particular video & it's then displayed before them on the BigScreen.

 NGUI - I'd like to have a simple interface that displays drop down menus of each flight that contain each customers name - linking to their video. 
            * When a new video is created a new menu button with a label displaying customer name should appear within the menu.
            * If a video is deleted from the folder, the interface should update & delete the menu button accordingly.
 

The videos themselves reside in a folder on our network: videos are not all in one folder but sub folders within the video folder
     eg. skydive_videos/susan_k/video/susan_k_sample.mp4

note: we often have 15- 20 flights per day..  8 people per flight.. that's a lot of jumps & a lot of videos  :)

p.s - Hope there's enough info here to get things rolling...   
 
Best,
       Michael

 
« Last Edit: January 30, 2014, 04:46:39 AM by Mickman »

Cripple

  • TNP Alpha
  • Full Member
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 117
    • View Profile
Re: Play SkyDive Videos- Buttons play videos from external folder.
« Reply #1 on: January 30, 2014, 03:36:13 AM »
I don't know what is your question or your concern.
I would say : "yeah do it".

By the way, why do you use Unity/NGUI for this kind of application ?
Graphicstream Dev.

Mickman

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 18
    • View Profile
Re: Play SkyDive Videos- Buttons play videos from external folder.
« Reply #2 on: January 30, 2014, 03:43:16 AM »
so you're basically saying don't use Unity Pro & NGUI for such an interface... ?   if not, what would you recommend ?

I need to get the name of each video in a folder  & set each label name in an NGUI menu.

I would like to use a special font to display each menu item's name.
The interface should reflect the style of the company, not simply utilising windows media player or equivalent.
 
 Perhaps Unity Pro is simply not the choice for playing video content..

Anyways.. here's a simple example of an NGUI menu

so     
         Menu One
                 -  Phil_samplevideo
                 -  Jimmy_samplvideo
                 -  karen_samplevideo

         Menu Two
                 -  Susan_samplevideo
                 -  Kim_samplvideo
                 -  karen_samplevideo

      Menu Three
                 -  Paul_samplevideo
                 -  Harry_samplvideo
                 -  Lisa_samplevideo


                 
« Last Edit: January 30, 2014, 04:40:10 AM by Mickman »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Play SkyDive Videos- Buttons play videos from external folder.
« Reply #3 on: January 30, 2014, 11:28:27 AM »
Neither Unity nor NGUI has anything to do with reading names of files from a folder. But this may help:

http://msdn.microsoft.com/en-us/library/07wt70x2(v=vs.110).aspx