Search Unity

playing videosclips in unity

Discussion in 'Scripting' started by vimlesh, May 19, 2009.

  1. vimlesh

    vimlesh

    Joined:
    May 14, 2009
    Posts:
    77
    hey guys ,
    can ne1 tell me how to integrate videos clips in unity, i want to play a movieclip(.avi etc )on occurrence of certain event.
    can video clips be added to unity project if not wat other option do i have

    help of any kind will be appreciated
     
  2. HiggyB

    HiggyB

    Unity Product Evangelist

    Joined:
    Dec 8, 2006
    Posts:
    6,183
  3. vimlesh

    vimlesh

    Joined:
    May 14, 2009
    Posts:
    77
    hey thanks dude i figured it out yesterday only but neways really appreciate ur help but can the movie texture be applied to a plane i want to play a movie after a certain event in my game so can i apply that to a plane which i have created as a GO so it looks like its continuing from the game only
    thnk
     
  4. Dreamora

    Dreamora

    Joined:
    Apr 5, 2008
    Posts:
    26,601
    a plane is just another type of mesh, no problem there :)
     
  5. vimlesh

    vimlesh

    Joined:
    May 14, 2009
    Posts:
    77
    hey thnks guys dat worked..........
    appreciate ur help........
     
  6. vimlesh

    vimlesh

    Joined:
    May 14, 2009
    Posts:
    77
    hi guys ,
    i tried playing video its working fine with unity iPhone but when i m porting the application on iPhone i m getting a blank screen.
    i want the video to be played on iPhone, is this possible.
    help me plz ..........
     
  7. HiggyB

    HiggyB

    Unity Product Evangelist

    Joined:
    Dec 8, 2006
    Posts:
    6,183
    Movie Textures are not supported on the iPhone. We are looking into movie texture type support in the future, see the Unity iPhone Road Map, notably the comments about version 1.1:

    Unity iPhone Roadmap

    We don't have dates to share as to when v1.1 might be available, to preempt what I sense your next question will be. :)
     
  8. Dreamora

    Dreamora

    Joined:
    Apr 5, 2008
    Posts:
    26,601
    If you want movie playback on the iphone you must use the fullscreen movie player through ObjC
    Either writting such a thing yourself or investing into Bliprobs expansion pack