playMaker

Author Topic: Video Player component  (Read 15483 times)

Team3D

  • Playmaker Newbie
  • *
  • Posts: 26
Video Player component
« on: April 03, 2017, 05:01:33 AM »
Hello, are there any plans for adding PlayMaker actions for the Video Player component added in Unity 5.6?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Video Player component
« Reply #1 on: April 03, 2017, 07:51:45 AM »
Hi,

 yes, very likely :)

 Bye,

 Jean

Team3D

  • Playmaker Newbie
  • *
  • Posts: 26
Re: Video Player component
« Reply #2 on: April 03, 2017, 09:18:52 AM »
Do you know roughly when we will see these actions?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Video Player component
« Reply #3 on: April 04, 2017, 02:55:42 AM »
Hi,

 hopefully within this month, I want to port AVPro as well, so I'll do both at the same time.

Bye,

 Jean

Team3D

  • Playmaker Newbie
  • *
  • Posts: 26
Re: Video Player component
« Reply #4 on: April 04, 2017, 04:27:47 AM »
Cool, thanks  :).

TristanKang

  • Playmaker Newbie
  • *
  • Posts: 4
Re: Video Player component
« Reply #5 on: April 30, 2017, 04:18:17 PM »
I'm also waiting this.

play_edu

  • Full Member
  • ***
  • Posts: 116
Re: Video Player component
« Reply #6 on: April 30, 2017, 11:51:29 PM »
me too....... ;D

Vern_S

  • Playmaker Newbie
  • *
  • Posts: 32
Re: Video Player component
« Reply #7 on: May 02, 2017, 11:08:12 AM »
Any chance this is available or need a Beta Tester? I have a project that was just dumped on me and this would be very beneficial. Less then two weeks to deliver.

Thanks

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Video Player component
« Reply #8 on: May 03, 2017, 04:33:49 AM »
Hi,
 
I am already on this, will become publicly testable before the end of this week, I'll make an announcement on this forum and twitter.

 Bye,

 Jean

Tillmania

  • Playmaker Newbie
  • *
  • Posts: 6
Re: Video Player component
« Reply #9 on: May 03, 2017, 07:19:14 AM »
Awesome! I've been looking for this too. Can I get involved in the beta?

Vern_S

  • Playmaker Newbie
  • *
  • Posts: 32
Re: Video Player component
« Reply #10 on: May 03, 2017, 08:46:46 AM »
Excellent!!!!

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Video Player component
« Reply #11 on: May 04, 2017, 01:45:35 AM »
Hi,

 It will be open on a public github rep, so yes you can get access to this as soon as I have put it up and will keep working on it :)

 Bye,

 Jean

Vern_S

  • Playmaker Newbie
  • *
  • Posts: 32
Re: Video Player component
« Reply #12 on: May 04, 2017, 03:51:30 PM »
For the time being I am trying to write a basic control script to enable video control from Playmaker. Only item I am having problems with is seek. My code is as follows.

Code: [Select]
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
 
public class VideoPlayerControlMod : MonoBehaviour {
 
    public UnityEngine.Video.VideoPlayer vPlayer;
 
    public long longFrame;
    public int currentFrame;
    public int currentSeek;
    public long longSeek;
   
    void Update () {
 
        longFrame = (vPlayer.frame);
        currentFrame = (int)longFrame;
 
        Debug.Log("frameCount " + vPlayer.frame);
 
    }
 
    void OnPlay()
    {
        vPlayer.Play();
    }
 
    void OnPause()
    {
        vPlayer.Pause();
    }
 
    void OnStop()
    {
        vPlayer.Stop();
    }
 
    void OnSeek()
    {
        longSeek = (long)currentSeek;
        vPlayer.frame += (longSeek);
    }
}

Any help would be greatly appreciated.

:)

Gustav

  • Junior Playmaker
  • **
  • Posts: 53
Re: Video Player component
« Reply #13 on: May 05, 2017, 12:43:07 PM »
I'm also looking forward to the Video Player actions.

Thank you for the hard work jeanfabre. :)

Ofonna

  • Full Member
  • ***
  • Posts: 230
Re: Video Player component
« Reply #14 on: May 05, 2017, 11:54:06 PM »
Jean is the best!