vimeo / vimeo-depth-player

A WebVR volumetric video renderer that uses color-depth based videos hosted on Vimeo.
https://vimeo-depth-player-playback.glitch.me
MIT License
83 stars 16 forks source link

Fixing the metadata parser to accept new Depthkit metadata format #15

Closed juniorxsound closed 5 years ago

juniorxsound commented 5 years ago

Why: The new Depthkit metadata format does not contain some of the fields the DepthPlayer parses, therefore given a new metadata file, the player breaks

What changed? depth-player.js now checks wheter values in the metadata object are defined before assigning them, if not, falls back to default values.