Skip to content

Instantly share code, notes, and snippets.

View garaei's full-sized avatar
🐢

Ali Akbar Shahriari Garaei garaei

🐢
View GitHub Profile
@garaei
garaei / ExampleView.java
Created May 28, 2020 14:38 — forked from Peppe/ExampleView.java
Example on how to make an video player using the native HTML <video> in Vaadin 14.
package com.vaadin.example.views;
import com.vaadin.example.components.Video;
import com.vaadin.flow.component.html.H1;
import com.vaadin.flow.component.orderedlayout.VerticalLayout;
import com.vaadin.flow.router.Route;
@Route("example")
public class ExampleView extends VerticalLayout {