Javascript - YouTube Player

● ARCHIVED · READ-ONLY
Started by biud436 1 posts View original ↗
  1. YouTube Player Extension
    Introduction
    This extension will cover setting up or playing YouTube video in Visual Novel Maker.


    Extension Download
    Link - https://github.com/biud436/VNM/raw/master/RS_YoutubePlayer.zip


    How to Use
    You can install the extension using [Tool - Extension Manager] after downloading extension file called RS_YoutubePlayer.zip.

    So you can choose YouTube Player within Collections list and then create a new record and do set the video quality or video size inside the window.

    DZ2p96L.png
    See the movie tab in an event command, so there is a new command called 'Play YouTube Video'.

    You can do type the video URL inside the text area and would play the YouTube video during the game.

    FCpy2e0.png
    Q&A
    Q. What is the number value named Callback Time?
    A. Callback Time that means the time takes for the frame update to resume. The frame update is stopped when playing the YouTube video. If the video is ended, then the frame update will resume after 2 seconds. that is because if there has <iframe> tag, window.requestAnimationFrame() method will be stopped.
    Change Log
    2018.08.23 (v1.0.0) - First Release.
    2018.08.24 (v1.0.1) :
    - Now Youtube Player would control parameters using Record Manager.
    - Youtube Player could return as the previous scene after finished the video.
    - Added setSize method.
    2018.08.24 (v1.0.2) - Supported for Action-based UI.


    License
    MIT License