playMaker

Author Topic: Video Player component  (Read 2070 times)

play_edu

  • Full Member
  • ***
  • Posts: 114
    • View Profile
Re: Video Player component
« Reply #30 on: June 20, 2017, 09:23:03 PM »
Thanks jean. :) :)

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 12342
  • Official Playmaker Support
    • View Profile
Re: Video Player component
« Reply #31 on: June 23, 2017, 12:43:30 AM »
Hello, will there be an action that will allow you to set the url of the video player component and change it?

d'oh! :)

 it's on now, I just pushed it on the Ecosystem.

 Bye,

 Jean

Team3D

  • Playmaker Newbie
  • *
  • Posts: 26
    • View Profile
Re: Video Player component
« Reply #32 on: June 26, 2017, 01:34:23 AM »
Thanks  :)

drown

  • Playmaker Newbie
  • *
  • Posts: 20
    • View Profile
Re: Video Player component
« Reply #33 on: June 28, 2017, 05:59:35 AM »
Amazing work, it is so fun working with the video player component and your actions. I have a question though, is there a way to send a finished event once the clip is played ? I am currently doing it via get frame , maybe I am missing something.

EDIT : Just saw that there are alot more actions on github, I just browsed the Eco System. Sorry , amazing work! The "Loop point reached event" does exactly what I need :P :-X
« Last Edit: June 28, 2017, 06:25:49 AM by drown »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 12342
  • Official Playmaker Support
    • View Profile
Re: Video Player component
« Reply #34 on: June 28, 2017, 10:57:34 PM »
Hi,

 yes, always check the ecosystem browser and if in doubt, simply open the action with the preview button it will take you to the actualy file online, where you can then browse all the actions available without searching for them.

 Bye,

 Jean

Roboboy1

  • Playmaker Newbie
  • *
  • Posts: 12
    • View Profile
Re: Video Player component
« Reply #35 on: July 01, 2017, 02:27:54 PM »
Thanks Jean. These new actions are working great. I have run into one issue. When I use the "set video clip" action it works fine. When I use the "player pause" or "player play" action they only work for the original clip. Is there a way to affect the video player object so that any clips it plays are affected?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 12342
  • Official Playmaker Support
    • View Profile
Re: Video Player component
« Reply #36 on: July 02, 2017, 11:51:02 PM »
Hi,

Did you renter the state where you have Player Pause and Player Play, the action cache the clip, so it may missed the set clip video action.

else, I'll have a closer look.

 Bye,

 Jean

Roboboy1

  • Playmaker Newbie
  • *
  • Posts: 12
    • View Profile
Re: Video Player component
« Reply #37 on: July 04, 2017, 11:18:12 AM »
Yes, you are right. I needed to use separate state machines so that play/pause and toggle work independently of each other. I've got this working now.

The Stop action doesn't seem to be working. I'm targeting a mesh with a video player component and a material using the generated render texture. Is that the wrong way to approach this?

Thanks- Bill
« Last Edit: July 04, 2017, 01:03:16 PM by Roboboy1 »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 12342
  • Official Playmaker Support
    • View Profile
Re: Video Player component
« Reply #38 on: July 21, 2017, 06:57:56 AM »
Hi,

 odd, if you have a report package, I'll have a look.

 Bye,

 Jean

Roboboy1

  • Playmaker Newbie
  • *
  • Posts: 12
    • View Profile
Re: Video Player component
« Reply #39 on: August 09, 2017, 01:21:39 PM »
I tried submitting a bug report from the tools menu but it couldn't connect to host. I've pasted it here in the meantime. This would probably be quicker to build than to get a zip file.

Playmaker: 1.8.4.f5 Unity: 2017.1.0f3 Build target: iOS

1) What happened

The video player stop action doesn't seem to work. I've attached it to a state that receives an event from a button and from a trigger volume. Play and pause work correctly but stop does not.

2) How can we reproduce it

Create a UI button that sends an event to a an FSM attached to a null object. Attach the play, pause, and stop video player actions to a state that is activated by the event. Play and pause work, but stop does not.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 12342
  • Official Playmaker Support
    • View Profile
Re: Video Player component
« Reply #40 on: August 09, 2017, 11:44:04 PM »
Hi,

 Indeed, the action was wrong, I fixed it, you can now update it from the Ecosystem.

 Thanks for spotting this :)

 Bye,

 Jean

Roboboy1

  • Playmaker Newbie
  • *
  • Posts: 12
    • View Profile
Re: Video Player component
« Reply #41 on: August 10, 2017, 07:03:49 AM »
Thank you for the quick fix Jean. This will help a lot!