playMaker

Author Topic: Playing Video URL with Playmaker video actions  (Read 2389 times)

mgervais

  • Playmaker Newbie
  • *
  • Posts: 21
Playing Video URL with Playmaker video actions
« on: May 31, 2020, 11:02:48 AM »
Hi guys,

Please I need some help. Have any of you ever played a video with a YouTube URL using Playmaker video actions ?

I have tried unsuccessfully with the following actions
Video Player Set Url
Video Player Play
The video player is added as a quad component and bothe video actions refer to owner.

If anyone has experience playing a video from a url using playmaker, any help would be gratly apreciated.

Thanks to all

Michael

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Playing Video URL with Playmaker video actions
« Reply #1 on: June 01, 2020, 03:02:49 AM »
Hi,

 you can't play a youtube video, the url must be a regular video file on a server, like a xxx.mov, xxx.avi, xxx.mp4 or something.

Bye,

 Jean

mgervais

  • Playmaker Newbie
  • *
  • Posts: 21
Re: Playing Video URL with Playmaker video actions
« Reply #2 on: June 04, 2020, 10:00:43 AM »
Thanks for your reply Jean.

but normally a URL doesn't contain a file name. It's an internet address.

What is the purpose of proposing the URL format in Unity if it relies on a physical file name ?

I purchased a youtube player from the asset store but it works only with youtube and is not very flexible

Michael

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Playing Video URL with Playmaker video actions
« Reply #3 on: June 04, 2020, 03:06:43 PM »
Hi.
Similar to an image from the internet, you can get a video file with an url like jean said.
For example this image
https://i.imgur.com/Auj706d.png

or this avi link :
https://www.engr.colostate.edu/me/facil/dynamics/files/drop.avi

mgervais

  • Playmaker Newbie
  • *
  • Posts: 21
Re: Playing Video URL with Playmaker video actions
« Reply #4 on: June 05, 2020, 02:17:45 PM »
Hi DJDino,

I tried the URL you posted as an example : https://www.engr.colostate.edu/me/facil/dynamics/files/drop.avi

I made a simple quad in which I added a video player with "play on awake" checked.

I'm using the material override method.

Sadly iIt still doesn't work :(

wetcircuit

  • Full Member
  • ***
  • Posts: 158
    • wetcircuit.com
Re: Playing Video URL with Playmaker video actions
« Reply #5 on: June 06, 2020, 12:17:24 AM »
Between internet protocols, os compatibility, and hardware devices, there are a ton of things that can go wrong playing a web video in Unity.

I hate to say read the manual, but video is one area where I think we really have to read the Unity manual.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Playing Video URL with Playmaker video actions
« Reply #6 on: June 10, 2020, 01:40:37 AM »
Hi,

 I use Avpro asset, yes it's very expensive, but it never failed us.

https://assetstore.unity.com/packages/tools/video/avpro-video-56355


Let me know if you still struggle with this, I'll give it a go. it should be possible for sure, but as wetcircuit said, it could be many many things.

Bye,

 Jean