Description
Sets A Video as a background of a layout
this extension is like how you set background image of a layout in same way this set background video of a layout
Add a picture of all the blocks
Instructions
Extension will only work in APK if you will test in companion the whole screen will get blank
Video Layout | Free
A extension which helps you to make video layouts.
๐ฆ 9.4 KB
๐ com.aktech.videolayout.VideoLayout
Blocks
GetMinVolume
Get Min volume
![](https://res.cloudinary.com/gadgetguru/image/upload/v1641278567/Extensions/VideoLayout/GetMinVolume.png)
returnType : number
CanSeekForward
Check if video can seek forward of video
![](https://res.cloudinary.com/gadgetguru/image/upload/v1641278569/Extensions/VideoLayout/CanSeekForward.png)
returnType : boolean
Pause
Pauses the video
![](https://res.cloudinary.com/gadgetguru/image/upload/v1641278569/Extensions/VideoLayout/Pause.png)
StopPlayback
Stops the playback of video
![](https://res.cloudinary.com/gadgetguru/image/upload/v1641278569/Extensions/VideoLayout/StopPlayback.png)
Start
Starts the video
![](https://res.cloudinary.com/gadgetguru/image/upload/v1641278569/Extensions/VideoLayout/Start.png)
Suspend
Suspends the video
![](https://res.cloudinary.com/gadgetguru/image/upload/v1641278571/Extensions/VideoLayout/Suspend.png)
IsVideoPrepared
Checks if video is prepared to do some actions in it
![](https://res.cloudinary.com/gadgetguru/image/upload/v1641278568/Extensions/VideoLayout/IsVideoPrepared.png)
returnType : boolean
SetVideoUri
Sets the Video by URI
![](https://res.cloudinary.com/gadgetguru/image/upload/v1641278569/Extensions/VideoLayout/SetVideoUri.png)
uri | text |
SeekTo
Go to a particular time in video
![](https://res.cloudinary.com/gadgetguru/image/upload/v1641278569/Extensions/VideoLayout/SeekTo.png)
millisecs | number |
CanPause
Check if video can pause of video
![](https://res.cloudinary.com/gadgetguru/image/upload/v1641278570/Extensions/VideoLayout/CanPause.png)
returnType : boolean
CurrentPosition
Get Current position of video
![](https://res.cloudinary.com/gadgetguru/image/upload/v1641278570/Extensions/VideoLayout/CurrentPosition.png)
returnType : number
SetVolume
Sets Volume for video
![](https://res.cloudinary.com/gadgetguru/image/upload/v1641278570/Extensions/VideoLayout/SetVolume.png)
sound | number |
BufferPercentage
get BufferPercentage of video
![](https://res.cloudinary.com/gadgetguru/image/upload/v1641278570/Extensions/VideoLayout/BufferPercentage.png)
returnType : number
CreateVideoLayout
Creates the VideoLayout in given arrangement
![](https://res.cloudinary.com/gadgetguru/image/upload/v1641278570/Extensions/VideoLayout/CreateVideoLayout.png)
layout | component |
AddComponent
Add View to relative layout and set its gravity
![](https://res.cloudinary.com/gadgetguru/image/upload/v1641278569/Extensions/VideoLayout/AddComponent.png)
component | component |
PlaybackSpeed
Sets the playback speed of the video
![](https://res.cloudinary.com/gadgetguru/image/upload/v1641278570/Extensions/VideoLayout/PlaybackSpeed.png)
speed | number |
GetMaxVolume
Get Max volume
![](https://res.cloudinary.com/gadgetguru/image/upload/v1641278570/Extensions/VideoLayout/GetMaxVolume.png)
returnType : number
SetVideoPath
Sets the Video by Path
![](https://res.cloudinary.com/gadgetguru/image/upload/v1641278570/Extensions/VideoLayout/SetVideoPath.png)
path | text |
Duration
Get Duration of video
![](https://res.cloudinary.com/gadgetguru/image/upload/v1641278569/Extensions/VideoLayout/Duration.png)
returnType : number
IsLooping
Checks if video is looping
![](https://res.cloudinary.com/gadgetguru/image/upload/v1641278569/Extensions/VideoLayout/IsLooping.png)
returnType : boolean
SetLooping
Sets if video should be looped
![](https://res.cloudinary.com/gadgetguru/image/upload/v1641278569/Extensions/VideoLayout/SetLooping.png)
loop | boolean |
GetCurrentVolume
Get Current volume
![](https://res.cloudinary.com/gadgetguru/image/upload/v1641278569/Extensions/VideoLayout/GetCurrentVolume.png)
returnType : number
AudioSessionID
Get Audio Session ID of video
![](https://res.cloudinary.com/gadgetguru/image/upload/v1641278569/Extensions/VideoLayout/AudioSessionID.png)
returnType : number
CanSeekBackward
Check if video can seek backward of video
![](https://res.cloudinary.com/gadgetguru/image/upload/v1641278570/Extensions/VideoLayout/CanSeekBackward.png)
returnType : boolean
IsPlaying
Check if video is playing
![](https://res.cloudinary.com/gadgetguru/image/upload/v1641278569/Extensions/VideoLayout/IsPlaying.png)
returnType : boolean
Resume
Resumes the video
![](https://res.cloudinary.com/gadgetguru/image/upload/v1641278570/Extensions/VideoLayout/Resume.png)
OnVideoError
Triggers when error occured during video
![](https://res.cloudinary.com/gadgetguru/image/upload/v1641278571/Extensions/VideoLayout/OnVideoError.png)
what | number |
|
extra | number |
OnVideoInfo
Triggers when and info came from video
![](https://res.cloudinary.com/gadgetguru/image/upload/v1641278571/Extensions/VideoLayout/OnVideoInfo.png)
what | number |
|
extra | number |
OnVideoCompleted
Triggers when video finishes
![](https://res.cloudinary.com/gadgetguru/image/upload/v1641278570/Extensions/VideoLayout/OnVideoCompleted.png)
OnVideoPrepared
Triggers when video is prepared to do actions
![](https://res.cloudinary.com/gadgetguru/image/upload/v1641278571/Extensions/VideoLayout/OnVideoPrepared.png)
Thank you
๐๐ฝ Download Extension
Download link
com.aktech.videolayout.aix (14.1 KB)
If you find any bugs please reply in this topic