playMaker

Author Topic: Video Player component  (Read 15484 times)

play_edu

  • Full Member
  • ***
  • Posts: 116
Re: Video Player component
« Reply #30 on: June 21, 2017, 12:23:03 AM »
Thanks jean. :) :)

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Video Player component
« Reply #31 on: June 23, 2017, 03: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
Re: Video Player component
« Reply #32 on: June 26, 2017, 04:34:23 AM »
Thanks  :)

drown

  • Junior Playmaker
  • **
  • Posts: 58
Re: Video Player component
« Reply #33 on: June 28, 2017, 08: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, 09:25:49 AM by drown »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Video Player component
« Reply #34 on: June 29, 2017, 01:57:34 AM »
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: 14
Re: Video Player component
« Reply #35 on: July 01, 2017, 05: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: 15500
  • Official Playmaker Support
Re: Video Player component
« Reply #36 on: July 03, 2017, 02:51:02 AM »
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: 14
Re: Video Player component
« Reply #37 on: July 04, 2017, 02:18:12 PM »
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, 04:03:16 PM by Roboboy1 »

jeanfabre

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

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

 Bye,

 Jean

Roboboy1

  • Playmaker Newbie
  • *
  • Posts: 14
Re: Video Player component
« Reply #39 on: August 09, 2017, 04: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: 15500
  • Official Playmaker Support
Re: Video Player component
« Reply #40 on: August 10, 2017, 02:44:04 AM »
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: 14
Re: Video Player component
« Reply #41 on: August 10, 2017, 10:03:49 AM »
Thank you for the quick fix Jean. This will help a lot!

Amin

  • Playmaker Newbie
  • *
  • Posts: 12
Re: Video Player component
« Reply #42 on: June 08, 2018, 04:51:32 AM »
Hello
this Feature supports Android devices ?!

Amin

  • Playmaker Newbie
  • *
  • Posts: 12
Re: Video Player component
« Reply #43 on: June 08, 2018, 05:54:33 AM »
Hello
this Feature supports Android devices ?!
I tested it and worked BUT ...
1- no video sound !
2- has about half a second delay ! ( that mean after splash screen , will be shown camera view and then video turn out! 
please see this video I captured : http://s8.picofile.com/d/8328635200/273dfdc2-9f66-427a-9d01-cb21160ded86/video_player_problem_after_Build.m4v


anyone has experience in this Conditions ?!   ???
« Last Edit: June 08, 2018, 06:06:04 AM by Amin »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Video Player component
« Reply #44 on: June 15, 2018, 04:00:03 AM »
Hi,

 This is likely because your video codecs are not optimal for Android. You'll need to research what's best for android and experiment. I know no other ways...

Bye,

 Jean