Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: mgervais on May 31, 2020, 11:02:48 AM

Title: Playing Video URL with Playmaker video actions
Post by: mgervais 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
Title: Re: Playing Video URL with Playmaker video actions
Post by: jeanfabre 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
Title: Re: Playing Video URL with Playmaker video actions
Post by: mgervais 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
Title: Re: Playing Video URL with Playmaker video actions
Post by: djaydino 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
Title: Re: Playing Video URL with Playmaker video actions
Post by: mgervais 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 :(
Title: Re: Playing Video URL with Playmaker video actions
Post by: wetcircuit 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.
Title: Re: Playing Video URL with Playmaker video actions
Post by: jeanfabre 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