πVideo
I'm a speed photo
var a =new Video({
name:"video",//video name
position:{//you enter where it will be on the screen
x:"50%",y:"50%"
},
scale:{//automatically adjusts if you do not add this
x:"25px",
y:"25px"
},
layer:100,//you don't have to type is automatically set to 100
autoplay: true,//auto play video
muted:true,//mute video sound
video:"http://techslides.com/demos/sample-videos/small.mp4",//video link or file
eval:`
console.log('Video ended')
//for example, write to console, you can use functions
`,
removeable:true//deletes itself after the video ends
})Update
Get
Remove
Last updated