A flyover is a function executed for every frame during render process with the main purpose of providing useful information or sync data.
A flyover operates outside a scene animation pipeline, and can it modify the content of one or more elements.
BeamToIX has following built-in flyovers:
info
video-sync
More flyovers can be added via pluginManager.addFlyovers.
pluginManager.addFlyovers
A info flyover provides information regarding current time position and frame.
css
#flyover { left: 10px;} Copy
#flyover { left: 10px;}
html
<div id="flyover" class="beamtoix-flyover"></div> Copy
<div id="flyover" class="beamtoix-flyover"></div>
js
story.addFlyover('info', { selector: '#flyover', format: 'story-frame: ${storyFrameNr}\nstory-time: ${storyElapsedS}',}); Copy
story.addFlyover('info', { selector: '#flyover', format: 'story-frame: ${storyFrameNr}\nstory-time: ${storyElapsedS}',});
A video-sync flyover synchronizes the current render frame with a background video.
WARNING Due Chrome 'autoplay-policy', it's not possible to 'safely' use Chrome to sync with videos, In order to overcome this limitation:
serverRender: false
beamtoix render
beamtoix movie
--bkg-movie
<video id=video width="385" height="288" src="assets/video.mp4" type="video/mp4"> Copy
<video id=video width="385" height="288" src="assets/video.mp4" type="video/mp4">
story.addFlyover('video-sync', { selector: '#video', serverRender: false, }); Copy
story.addFlyover('video-sync', { selector: '#video', serverRender: false, });
Description
A flyover is a function executed for every frame during render process with the main purpose of providing useful information or sync data.
A flyover operates outside a scene animation pipeline, and can it modify the content of one or more elements.
BeamToIX has following built-in flyovers:
infovideo-sync.More flyovers can be added via
pluginManager.addFlyovers.Info flyover
A
infoflyover provides information regarding current time position and frame.See
Example
css
html
js
Video Sync flyover
A
video-syncflyover synchronizes the current render frame with a background video.WARNING Due Chrome 'autoplay-policy', it's not possible to 'safely' use Chrome to sync with videos, In order to overcome this limitation:
serverRender: falseto preventbeamtoix renderfrom attempting to sync the video while server render.beamtoix movie, set--bkg-movieparameter with the video filename to use a background video.Example
css
html
js