Example using Pexels API to preview videos

Pexels Video Preview shows how the Pexels video API can be used to search and preview videos.

UI supports entry of key before API can be used. Key is saved as a cookie.

Works on desktop and in VR. Sound works on video. Controls to mute and loop a video.

Also, example of using Pexels API to preview photos

Using this as a foundation, should be possible to create image gallery (carousel) or video media player with controls and sound effects that works inside a scene.

Forgot to mention, source code is here

When entering the API key, copy to clipboard and use the paste icon and Enter key on keyboard

image