Skip to content

A component for adding subtitles to aframe 360 videos.

Notifications You must be signed in to change notification settings

robertogerson/aframe-subtitle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A-FRAME SUBTITLE

A component for adding subtitles to a-frame VR 360 videos entities.

  • TODO: Screenshot

DEPENDENCIES

Usage

<head>
  <title>My A-Frame Scene</title>
  <script src="https://aframe.io/releases/0.2.0/aframe.min.js"></script>
  <script src="https://rawgit.com/ngokevin/aframe-text-component/master/dist/aframe-text-component.min.js"></script>
  <script src="https://rawgit.com/robertogerson/aframe-subtitle/master/dist/aframe-subtitle.min.js"></script>
</head>

<body>
  <a-scene>
    <a-assets>
      <video id="video" src="Reel_Obuie_360_VR.mp4"
             autoplay loop></video>
    </a-assets>

    <a-videosphere src="#video" rotation="0 180 0"></a-videosphere>
    <a-entity subtitle="timeline: #video; srt: data.srt"
              material="color: white;"/>
  </a-scene>
/body>

AUTHORS

License

  • TODO

About

A component for adding subtitles to aframe 360 videos.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published