Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

How to use HTML tag in WebGL unity version 5.2.3

Discussion in 'Scripting' started by KinyStar, Jun 27, 2016.

  1. KinyStar

    KinyStar

    Joined:
    Apr 22, 2016
    Posts:
    6
    Hi every one !

    I need to use <video> tag of HTML5 for show simple youtube link. But I can find html source code to modified it. So what can i find and modified html form of webGL version unity. Pls help me.
     
  2. S_Rank_Crazy

    S_Rank_Crazy

    Joined:
    Feb 3, 2014
    Posts:
    26
    It's been a while since I did a build for WebGL but I'm pretty sure when you do a build you get the html in the build location, so just build your project and take a look. I can take a look at this when I get in after work if no solution presents itself by then. Good luck.
     
  3. KinyStar

    KinyStar

    Joined:
    Apr 22, 2016
    Posts:
    6
    Thank for your help. I want play youtube movie with web view, it play when game finish. Not open new tab view.
    Step 1: When game ending, I show button for user .
    Step 2: If user tab on it, game will open youtube video in game screen.
    Step 3: After youtube video ending, turn back menu game.
    So what can i do this.
     
    Last edited: Jun 28, 2016