Library Spotlight

Spotlight: Video.js for Media Playback

Add video playback capabilities with Video.js integration.

M. WarbleOctober 8, 20261 min read
Spotlight: Video.js for Media Playback

Video.js is the leading open-source HTML5 video player. Oorian's wrapper makes embedding video content straightforward.

Basic Player

VjsPlayer player = new VjsPlayer();
player.setSrc("/videos/intro.mp4");
player.setPoster("/images/video-poster.jpg");
player.setControls(true);
player.setAutoplay(false);
body.addElement(player);

Events

player.registerListener(this, VideoEndedEvent.class);

@Override
public void onEvent(VideoEndedEvent event)
{
    showNextVideoSuggestions();
}

Conclusion

Video.js integration brings consistent, accessible video playback across all browsers and devices.

Related Articles

Security

Security by Default: How Oorian Protects Your Applications

January 11, 2026
Announcement

Why We Built Oorian: The Story Behind the Framework

January 7, 2026
Tutorial

Getting Started with Oorian: Your First Java Web Application

December 31, 2025