[Free] VideoLayout extension

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

METHODType - Return number

AudioSessionID

Get Audio Session ID of the id. In this block there are 1 parameters,

id number

METHODType - Return number

BufferPercentage

get BufferPercentage of the id. In this block there are 1 parameters,

id number

METHODType - Return boolean

CanPause

Check if video can pause of the id. In this block there are 1 parameters,

id number

METHODType - Return boolean

CanSeekBackward

Check if video can seek backward of the id. In this block there are 1 parameters,

id number

METHODType - Return boolean

CanSeekForward

Check if video can seek forward of the id. In this block there are 1 parameters,

id number

METHODType - Set Value

CreateVideoLayout

Creates the VideoLayout in given arrangement with id. In this block there are 2 parameters,

layout component id number

METHODType - Return number

CurrentPosition

Get Current position of the id. In this block there are 1 parameters,

id number

METHODType - Return number

Duration

Get Duration of the id. In this block there are 1 parameters,

id number

METHODType - Return list

GetIds

Returns a list of used ids. In this block there are 0 parameters,

METHODType - Return boolean

IsPlaying

Check if video is playing of the id. In this block there are 1 parameters,

id number

METHODType - Set Value

Pause

Pauses the video of the id. In this block there are 1 parameters,

id number

METHODType - Set Value

Resume

Resumes the video of the id. In this block there are 1 parameters,

id number

METHODType - Set Value

SeekTo

Go to a particular time of the id. In this block there are 2 parameters,

millisecs number id number

METHODType - Set Value

SetVideoPath

Sets the Video by Path in the desired id. In this block there are 2 parameters,

path text id number

METHODType - Set Value

SetVideoUri

Sets the Video by URI in the desired id. In this block there are 2 parameters,

uri text id number

METHODType - Set Value

Start

Starts the video of the id. In this block there are 1 parameters,

id number

METHODType - Set Value

StopPlayback

Stops the playback of the id. In this block there are 1 parameters,

id number

METHODType - Set Value

Suspend

Suspend the id. In this block there are 1 parameters,

id number

Download link

com.AK_Tech.VideoLayout.aix (9.8 KB)
If you find any bugs please reply in this topic

#off-topic

Today is my Birthday!!!

Demo Blocks

1 Like

Great Extension…
Will test it…
:grin:

1 Like

thank you @Kshitij_Vats

Demo Blocks and docs added

Hmmmm nice extension, I love it

thanks actually there is a bug and it is still in development

1 Like

There is almost no extension in the world that is Bugless

Maybe explain the issue you’re facing?