GemVideo
The component shows a video on a web page.
Usage Example
/* (c) https://github.com/MontiCore/monticore */
package example_basic;
import mc.fenix.basic.GemVideo;
import common.ExamplePage;
page GemVideoExample() {
@ExamplePage(
component = @GemVideo(source = "assets/video/video.mp4"),
basePath = "example_basic",
componentName = "GemVideoExample"
);
}
GUI Model
component GemVideo(
String source
)
| Name | Type | Description | Default value |
|---|---|---|---|
source |
String |
The path to the video file. It can be a URL or a relative path. The relative path starts from the root folder (typically src/). |