Skip to content

extreal-dev/Extreal.Integration.Web.Common

Repository files navigation

Extreal.Integration.Web.Common

How to test

  • Enter the following command in the WebScripts~ directory.

    yarn
    yarn dev
  • Import the sample MVS or MVS2 from Package Manager.

  • Enter the following command in the WebScripts~ directory under the imported directory.

    yarn
    yarn dev

    The JavaScript code will be built and output to /Assets/WebGLTemplates/Dev.

  • Open Build Settings and change the platform to WebGL.

  • Select Dev from Player Settings > Resolution and Presentation > WebGL Template.

  • Add all scenes in MVS to Scenes In Build.

  • Play

    • See README to run WebGL application in local environment.

Test cases for manual testing

MVS (main feature of this library)

Listed above the scene played.

MVS2 (video feature)

  • Title screen
    • Ability to go to video screen (initialize)
  • Video screen
    • Ability to specify url (set url, prepare)
    • Display the length of the video (video preparation is completed, get video length)
    • Ability to play video (play)
      • Ability to play video with the original colors when Project Settings > Other Settings > Rendering > Color Space is set to Gamma.
      • Ability to play video with the original colors when Project Settings > Other Settings > Rendering > Color Space is set to Linear.
      • Ability to play correctly when looped 5 or more times
    • Ability to play correctly when switching to another video with a different resolution
      1. Play video
      2. Stop video
      3. Specify another video URL
      4. Push Load button
      5. Play
    • Ability to pause video (pause)
    • Ability to seek video (set time)
    • Ability to stop video (stop)
    • Ability to adjust volume (set volume)
    • Error notification if specified url is invalid (error is received)
    • Ability to return title screen (dispose VideoPlayer)

About

Common for Web modules

Resources

License

Apache-2.0, Unknown licenses found

Licenses found

Apache-2.0
LICENSE
Unknown
LICENSE.meta

Stars

Watchers

Forks

Packages

No packages published

Contributors 5