Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started 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
-
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
-
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
-
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
-
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 :(
-
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.
-
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