A reference for the embedded player
Source table from A reference for the embedded player, page 44| Element property | Meaning |
|---|
| assetId | The video asset to load. |
|---|
| autoplay / loop / muted | Authored playback configuration. |
|---|
| volumeDb | Authored player level in decibels. |
|---|
| posterAssetId / emptyText | Load-failure image and text. |
|---|
| contentMarginLeft / Top / Right / Bottom | Insets that define the content rectangle. |
|---|
| contentFit | Poster fitting; see the decoded-video limitation in Chapter 18. |
|---|
Live VideoStreamPlayer controls#
Source table from A reference for the embedded player, page 44| Read or command | Purpose |
|---|
| GetGUIElementProperty(..., "video_player", null) | Obtain this element’s live player in GDScript. |
|---|
| player.play() | Start again. |
|---|
| player.paused = true / false | Pause / resume the existing playback. |
|---|
| player.stop() | Stop the current playback. |
|---|
| player.stream_position | Current/requested position in seconds. |
|---|
| player.volume_db | Live player audio level. |
|---|
| player.finished | Natural completion signal for the finite-playback exercise. |
|---|
Screenshots and runtime checks: PCA 3D Adventure Studio 0.86.3.4. Models and background artwork shown are from existing engine project assets. The sample video is a short test clip. No practice files are included.