How to Play a Video in Unity 2017

  Рет қаралды 120,461

Studica News

Studica News

Күн бұрын

Пікірлер: 84
@Blackthornprod
@Blackthornprod 5 жыл бұрын
Awesome video :) ! Thanks !
@SearchEnvyYT
@SearchEnvyYT 4 жыл бұрын
Oo, who is here :D
@Itay_Ron
@Itay_Ron 4 жыл бұрын
Oo, who is here :D
@i-dislike-handles
@i-dislike-handles 4 жыл бұрын
Oo, who is here :D
@thetominator64
@thetominator64 3 жыл бұрын
Oo, who is here :D
@moonwatchereclipse5291
@moonwatchereclipse5291 3 жыл бұрын
Oo, who is here :D
@bitcashking
@bitcashking 4 жыл бұрын
thanks buddy but does anyone know how to have the game object delete itself after playing and dose anyone know how to put the video to play in front of a canvas
@TRapz-uk3qc
@TRapz-uk3qc 3 жыл бұрын
Hi... I added the video on an existing project. I can see the video play on scene view, but on game view I don't see it I just hear the audio
@pgcfriend
@pgcfriend 6 жыл бұрын
I implemented the render texture solution a couple of months ago. Works just great using Unity 2017.2.0f3!
@mathiolia5877
@mathiolia5877 2 жыл бұрын
how to do the same if the video is a stereo instead of a mono , it will be highly helpful to me if u can let me know ; unreal does it in an another way but i want to implement in unity;
@MatthewKrekeAuthor
@MatthewKrekeAuthor 4 жыл бұрын
can you play online video on unity?
@guedesneuro
@guedesneuro 5 жыл бұрын
Very Nice Tutorial ... do you know how to render an anaglyph video ( red and blue)???
@theyogabios
@theyogabios 2 жыл бұрын
Awesome video sir, thank you.
@innocentqwa4630
@innocentqwa4630 7 жыл бұрын
I'm having an issue where the video and the sound to the video are not synced. I followed the recommendations from the Unity Documentation that where mentioned in this video. Any ideas?
@inigoruizdeapodaca8427
@inigoruizdeapodaca8427 6 жыл бұрын
Great video!!! You saved me quite a bunch of hours of work.
@Alex-vu5uu
@Alex-vu5uu 6 жыл бұрын
hi, how can I make a clickable video? for example: when I click somewhere on the video it loads another video
@tmaow
@tmaow 6 жыл бұрын
I think you can use normal buttons to switch
@mijkolsmith
@mijkolsmith 6 жыл бұрын
assign a button script to the gameobject
@huntersieben1112
@huntersieben1112 6 жыл бұрын
Video is playing but it is appearing in the background behind sprites rather than the foreground, how can i resolve this issue?
@numero7mojeangering
@numero7mojeangering 4 жыл бұрын
Simply put your object that is rendering the texture in the foreground.
@numero7mojeangering
@numero7mojeangering 4 жыл бұрын
In the video at 3:50 he is talking about "Render Mode", I think that's what your looking for.
@williamcousert
@williamcousert 7 жыл бұрын
Is there any way to link to videos on Google Drive or other cloud storage sites like Drop Box, iCloud or Microsoft's One Drive?
@wongmr3916
@wongmr3916 6 жыл бұрын
how come my player 1 & player 2 running few second only and disappear?
@lboymusic
@lboymusic 4 жыл бұрын
Hi, thanks for your great video. It was very helpful :) sorry to bother you. I already manage to play my videos, but the video is not synced with the audio. I didn't add a audio component to my video player, because it has sound. I don't have a sound board, I'm using direct. What do you think the problem might be? Could it be related to the size of my video files? What should I try? Thanks
@keissimylly4568
@keissimylly4568 5 жыл бұрын
Hey how do I set it between my backgrounds? I've made backgrounds with sprite and I have the farthest background "Sky" and after that "Rocks" and I want the texture/video between them? Now the video plays but it's behind the "Sky" background and I want it between them. I have setup the backgrounds in layers. :)
@numero7mojeangering
@numero7mojeangering 4 жыл бұрын
Do moving the Z axis of the transform can fix your probleme?
@numero7mojeangering
@numero7mojeangering 4 жыл бұрын
Create a render texture, instead of Camera, at 3:50, select Render Texture, put your render texture in it. Then you can move the object that have the Render Texture where you want. I dont know what you mean by having the backgrounds in layers, are they separates game objects?. When you select Camera far plane, it will render the video in the camera but first, I suppose, and then draw everything else on top, the Camera Near Plane, I again suposes, it will render the texture when everything has drawn. So it will apear in the foreground on top of everything. Next you have Render Texture wich will render in a texture, lol, this is usefull because you can have a material with this render texture and do whatever you want with an object with a texture, I dont know if it works with sprites. But you can also make fun stuff if you know about shader coding, you can for example make your video flash, but anyway. I dont know what Material Override is or API Only, need to check Unity's page.
@johntrabelsi6066
@johntrabelsi6066 6 жыл бұрын
Great video!! How do you do for the video to play only when the component is loaded? I have a Vuforia component for a video to play when target is shown, but the video starts playing as soon as it's built (I can hear the sound in the backgorund) VS when the component is shown. Thank you!!
@numero7mojeangering
@numero7mojeangering 4 жыл бұрын
What is a "Vuforia component". A custom Script? And what exact behaviour do you expect, I can't understand. When the component load it Start the video. Simply uncheck the "Play On Awake". If you want to play when it shown, you need to create a C# Script to start the video when you want.
@supercables251
@supercables251 5 жыл бұрын
Import settings?
@hanidew
@hanidew 6 жыл бұрын
This is great! Btw do you have any idea how to proceed next scene using video player component after video itself is finished playing?
@hanidew
@hanidew 6 жыл бұрын
My method worked with the time.delta but it is taxing and I felt lazy thinking more about it lol
@NebMotion
@NebMotion 5 жыл бұрын
dude this tutorial made it so simple. thank you.
@SuperJV4x
@SuperJV4x 6 жыл бұрын
anyone have an idea at what # simultaneous videos it starts to bog? can I play 50 videos, for example?
@haseebkhokher4738
@haseebkhokher4738 6 жыл бұрын
is it for android?
@nadern9755
@nadern9755 7 жыл бұрын
YOU ARE A KING!!! THANK YOU SO MUCH
@pinkhairblackman8141
@pinkhairblackman8141 2 жыл бұрын
you are my hero
@PHPLanceRU
@PHPLanceRU 6 жыл бұрын
What about unity 2018?
@SasukeUchiha723
@SasukeUchiha723 6 жыл бұрын
I cant even play any video in unity 2018
@tscheydee1482
@tscheydee1482 6 жыл бұрын
I think its not working for Unity 2018.1.2f1...
@PHPLanceRU
@PHPLanceRU 6 жыл бұрын
Why?
@abhinaychintalapati7696
@abhinaychintalapati7696 5 жыл бұрын
good video.. all instructions on point!
@Bess2k2
@Bess2k2 6 жыл бұрын
Thank you so much!! This helped me put a video in the UI! You’re the best!
@TheLucas747
@TheLucas747 7 жыл бұрын
what video format are you using?
@alejandraherrerap79
@alejandraherrerap79 6 жыл бұрын
I do the sample using mp4 video format
@rimi1680
@rimi1680 6 жыл бұрын
It was very helpful!! Thank you!! :D
@vishalthakkar5616
@vishalthakkar5616 7 жыл бұрын
Thank you I saved lot of time.
@androiddeveloper3531
@androiddeveloper3531 6 жыл бұрын
Thanks So Much You Saved My Day .
@grunter96
@grunter96 6 жыл бұрын
How do I make it transition into my game? This would be very helpful! Thanks!
@venkytrillu5907
@venkytrillu5907 6 жыл бұрын
Video from url??
@Xatex18
@Xatex18 7 жыл бұрын
Saved the day, thanks.
@andrewthomas5778
@andrewthomas5778 5 жыл бұрын
Super useful, thanks mate
@singletonpattern4797
@singletonpattern4797 6 жыл бұрын
Thanks ,you are the best .
@programpurpose9782
@programpurpose9782 5 жыл бұрын
Great tutorial
@hosseinarabbeigi8377
@hosseinarabbeigi8377 5 жыл бұрын
Awesome man! saved my day!
@farooqawan9896
@farooqawan9896 4 жыл бұрын
thanks man, but i want to Watch your tour video :D lol its kinda Awesome
@mono_solarpunk
@mono_solarpunk 6 жыл бұрын
Awesome dude, thanks =)
@OwO_Otahon_3310
@OwO_Otahon_3310 5 жыл бұрын
Thx a lot ,it is helpful
@_isaac_muniz_
@_isaac_muniz_ 5 жыл бұрын
Creating a Quad didn't automatically created a material for me..
@thbtgg4ever
@thbtgg4ever 6 жыл бұрын
Thank you. This saved my tesis xD ♥
@andremilanimartin3338
@andremilanimartin3338 4 жыл бұрын
For those that want to run videos as a script, paste the following into a scrip and attach to a empty gameobject: var rawImage = gameObject.AddComponent(); var videoPlayer = gameObject.AddComponent(); var audioSource = gameObject.AddComponent(); var renderTexture = new RenderTexture(200,200,24); videoPlayer.targetTexture = renderTexture; gameObject.GetComponent().texture = renderTexture; // dont use Path.Combine it loves to bug out var path = Application.streamingAssetsPath + @"\Events\mllhildEvents\Images\tentacles.mp4"; videoPlayer.url = @path; videoPlayer.playOnAwake = true; videoPlayer.isLooping = true; videoPlayer.waitForFirstFrame = true; videoPlayer.renderMode = UnityEngine.Video.VideoRenderMode.RenderTexture; videoPlayer.audioOutputMode = UnityEngine.Video.VideoAudioOutputMode.AudioSource; videoPlayer.SetTargetAudioSource(0, audioSource);
@encraft7951
@encraft7951 7 жыл бұрын
THANK YOU YOU ARE THE BEST
@adamwebster1652
@adamwebster1652 6 жыл бұрын
This is no different from the other two tutorials I tried to follow on how to create video in unity3d. The comments sections are RAMMED with people who, like myself, can't explain why we are unable to drag and drop a video asset across to the right hand side menu. If you can figure that out, you'd be a legend. I've tried different file formats (All supported in the list), I've tried re-installing quickplayer, and I've tried writing C# scripts to handle it. No joy. The proposed problem is that "Free" doesn't support video and that for that you need "Pro" but everyone vehemently says that unity has changed. Which is it?
@adamwebster1652
@adamwebster1652 6 жыл бұрын
All three of these videos (Yours included) don't say what file format and codec they used. That'd be a good start.
@AstrusHD
@AstrusHD 6 жыл бұрын
Thank you very much!!!
@feartheway5111
@feartheway5111 7 жыл бұрын
amazing tutorial thx
@alexocaber
@alexocaber 2 жыл бұрын
niceee thankkksss
@АрменГашишев
@АрменГашишев 5 жыл бұрын
Thank you, you're the best!
@adabrew2310
@adabrew2310 6 жыл бұрын
Thanks so much dude
@LINK1V4N
@LINK1V4N 4 жыл бұрын
Thank you.
@catalinyoss8238
@catalinyoss8238 7 жыл бұрын
Thank you!GG MAN,GG!
@sobiakanwal7028
@sobiakanwal7028 6 жыл бұрын
King Yoss
@RatoCavernaBR
@RatoCavernaBR 6 жыл бұрын
Thank you. It's muffin time.
@erichjk
@erichjk 6 жыл бұрын
Useful!
@nastasjasoto
@nastasjasoto 5 жыл бұрын
thank you!
@lulithagihan7817
@lulithagihan7817 7 жыл бұрын
thank you
@SakuraAljufry
@SakuraAljufry 7 жыл бұрын
ajar saya buat game
@tahirdevlog2047
@tahirdevlog2047 6 жыл бұрын
thanks
@moosegamingstudio7515
@moosegamingstudio7515 4 жыл бұрын
e
5 жыл бұрын
great tip 0/
How to get started with Unity - Video Player
6:30
Dapper Dino
Рет қаралды 84 М.
American was shocked by 7 Slavic countries word differences!!
15:29
World Friends
Рет қаралды 1,2 МЛН
СИНИЙ ИНЕЙ УЖЕ ВЫШЕЛ!❄️
01:01
DO$HIK
Рет қаралды 3,3 МЛН
The Best Band 😅 #toshleh #viralshort
00:11
Toshleh
Рет қаралды 22 МЛН
3 Hours vs. 3 Years of Blender
17:44
Isto Inc.
Рет қаралды 7 МЛН
Unity Video Player with Time Scrub and Controls
14:19
Jason Weimann (GameDev)
Рет қаралды 65 М.
Every Minute One Person Is Eliminated
34:46
MrBeast
Рет қаралды 48 МЛН
Much bigger simulation, AIs learn Phalanx
29:13
Pezzza's Work
Рет қаралды 2,9 МЛН
Think Fast, Talk Smart: Communication Techniques
58:20
Stanford Graduate School of Business
Рет қаралды 44 МЛН
Isometric Game Tutorial - Pros and Cons, Art, Movement
11:16
Tamara Makes Games
Рет қаралды 144 М.
Unity3D 5.6 Video Player Load, Scrub, Loop, Play & More
28:46
Renaissance Coders
Рет қаралды 57 М.
LIGHTING in Unity
16:13
Brackeys
Рет қаралды 1,3 МЛН
Что случилось у Ники в государственном саду?!😳
0:51
Привет, Я Ника!
Рет қаралды 4,1 МЛН
Выхлоп за 70р, дёшево и сердито!
0:28
IGORIAN TODAY
Рет қаралды 3,8 МЛН
Фокус для Салим Бая
1:01
Элита общества
Рет қаралды 1,2 МЛН
Одноклассники съели мои чипсы 😂 #shorts
0:41
Вика Андриенко
Рет қаралды 1,9 МЛН
WHO IS BETTER? #shorts
0:42
dednahype
Рет қаралды 29 МЛН