This plugin will only display on mobile and on video scenes!
On mobile you can't set a video to auto play. The only way to play a video on mobile is to have a button to trigger a user interaction.
The only pupose of this plugin is to display a play button on mobile if you are on a video scene.
json configuration
{
"story": { ... },
"plugins":
{
"engines":
[
{
"uid": "org.forgejs.mobilevideoplay",
"url": "MobileVideoPlay/"
}
],
"instances":
[
{
"uid": "mobilevideoplay",
"engine": "org.forgejs.mobilevideoplay"
}
]
}
}
options
icon
- The image resource url relative to the plugin folder for the play button (default isassets/play.png
)
actions
The exposed actions are :
show
- Show the play button.hide
- Hide the play button.