[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 componentid 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 numberid number

METHODType - Set Value

SetVideoPath

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

path textid number

METHODType - Set Value

SetVideoUri

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

uri textid 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

Demo Blocks

2 Likes

:heart_eyes: nice extension bro and thank you for free

1 Like

your welcome @killer

Awesome extension buddy… :smiley:
It would be great if you can share some blocks screenshot so that others can know How to use it. Also you can create docs of your extension in seconds using extension docs generator.
Visit this url Appinventor Extensions Docs | Home

1 Like

that is a great website i will right now edit my topic and add the docs

Demo Blocks and docs added

play video online link ???

Great Extension Thanks For Share

1 Like

sorry i did not understand

Does it support online video links?

1 Like

yes it does :wink: :wink: :smiley: :smiley: :smile: :smile: