Search Unity

  1. Get all the Unite Berlin 2018 news on the blog.
    Dismiss Notice
  2. Unity 2018.2 has arrived! Read about it here.
    Dismiss Notice
  3. We're looking for your feedback on the platforms you use and how you use them. Let us know!
    Dismiss Notice
  4. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  5. Improve your Unity skills with a certified instructor in a private, interactive classroom. Learn more.
    Dismiss Notice
  6. ARCore is out of developer preview! Read about it here.
    Dismiss Notice
  7. Magic Leap’s Lumin SDK Technical Preview for Unity lets you get started creating content for Magic Leap One™. Find more information on our blog!
    Dismiss Notice
  8. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

Video question

Discussion in 'General Discussion' started by trenken, Jun 14, 2018.

  1. trenken

    trenken

    Joined:
    May 3, 2018
    Posts:
    13
    I want to put a youtube video on a media screen, so I changed the video component to URL, but it just wont play any YT vids. I can only get video to work if I import an MP4.

    Can anyone point me in the right direction to getting YT vids to play in unity? Been googling this for a while with no luck. Thought this would be something simple but maybe its not.
     
  2. iamthwee

    iamthwee

    Joined:
    Nov 27, 2015
    Posts:
    1,478
    Prolly not a good idea, as it requires an internet connection. What if your players are on a 56K dialup?
     
  3. trenken

    trenken

    Joined:
    May 3, 2018
    Posts:
    13
    Not worried about that. This is for events where we will always have a connection.
     
  4. verybinary

    verybinary

    Joined:
    Sep 23, 2015
    Posts:
    368
    Why not download the video, play it locally, and credit the youtube account?
     
    theANMATOR2b likes this.
  5. angrypenguin

    angrypenguin

    Joined:
    Dec 29, 2011
    Posts:
    10,776
    Does a Youtube video URL go to the video itself, or to a page that displays the video?
     
  6. verybinary

    verybinary

    Joined:
    Sep 23, 2015
    Posts:
    368
    im pretty sure its youtube.com/hjgFhjgfJHgfjhG
    so that's a good point. if you can get a direct link to the embedded video, it should work?

    EDIT: Joe brought up a good point, two down.
    ignore my original post. bad idea. is the original video yours? do you have the original and only trying to link youtube by default? if not, contact the original owner.
     
    Last edited: Jun 16, 2018
  7. theANMATOR2b

    theANMATOR2b

    Joined:
    Jul 12, 2014
    Posts:
    7,773
    Related to this topic - If this is a product for sale, attempting to link a video created by someone else other than OP - copyright and dmca should be reviewed prior to publishing.
     
  8. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    3,041
    Unless you've got specific written permission from YouTube/Google to do this (which I doubt, since if you did they would probably tell you how to do it), you would be violating the YouTube Terms of Service section 4 subsection C, and possibly section 5 B and C. You'd also be in violation of 5 B if you download the video without a download link (which I think are pretty rare). Personally, I'd stay clear of anything that could bring a lawsuit from YouTube/Google, but that's just me.

    https://www.youtube.com/static?template=terms
     
    Last edited: Jun 15, 2018
    theANMATOR2b likes this.