playMaker

Author Topic: Video Player component  (Read 2113 times)

Team3D

  • Playmaker Newbie
  • *
  • Posts: 26
    • View Profile
Video Player component
« on: April 03, 2017, 02: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: 12351
  • Official Playmaker Support
    • View Profile
Re: Video Player component
« Reply #1 on: April 03, 2017, 04:51:45 AM »
Hi,

 yes, very likely :)

 Bye,

 Jean

Team3D

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

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 12351
  • Official Playmaker Support
    • View Profile
Re: Video Player component
« Reply #3 on: April 03, 2017, 11:55:42 PM »
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
    • View Profile
Re: Video Player component
« Reply #4 on: April 04, 2017, 01:27:47 AM »
Cool, thanks  :).

TristanKang

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

play_edu

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

Vern_S

  • Playmaker Newbie
  • *
  • Posts: 29
    • View Profile
Re: Video Player component
« Reply #7 on: May 02, 2017, 08: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: 12351
  • Official Playmaker Support
    • View Profile
Re: Video Player component
« Reply #8 on: May 03, 2017, 01: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: 5
    • View Profile
Re: Video Player component
« Reply #9 on: May 03, 2017, 04:19:14 AM »
Awesome! I've been looking for this too. Can I get involved in the beta?

Vern_S

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

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 12351
  • Official Playmaker Support
    • View Profile
Re: Video Player component
« Reply #11 on: May 03, 2017, 10:45:35 PM »
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: 29
    • View Profile
Re: Video Player component
« Reply #12 on: May 04, 2017, 12: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

  • Playmaker Newbie
  • *
  • Posts: 30
    • View Profile
    • Pyrit Design
Re: Video Player component
« Reply #13 on: May 05, 2017, 09:43:07 AM »
I'm also looking forward to the Video Player actions.

Thank you for the hard work jeanfabre. :)

Carmichael

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