Difference between revisions of "Event.VIDEO COMPLETE"
From GiderosMobile
m |
m |
||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | |||
− | |||
'''<translate>Available since</translate>:''' Gideros 2016.1<br/> | '''<translate>Available since</translate>:''' Gideros 2016.1<br/> | ||
− | |||
'''<translate>Value</translate>:''' complete<br/> | '''<translate>Value</translate>:''' complete<br/> | ||
− | |||
'''<translate>Defined by</translate>:''' [[Special:MyLanguage/Media|Media]]<br/> | '''<translate>Defined by</translate>:''' [[Special:MyLanguage/Media|Media]]<br/> | ||
− | === | + | === Description === |
− | |||
− | |||
This event is dispatched when a video is finished playing. | This event is dispatched when a video is finished playing. | ||
− | |||
− | |||
− | |||
+ | === Example === | ||
<source lang="lua"> | <source lang="lua"> | ||
mediamanager:addEventListener(Event.VIDEO_COMPLETE, function() | mediamanager:addEventListener(Event.VIDEO_COMPLETE, function() | ||
Line 25: | Line 17: | ||
=== <translate>Parameters</translate> === | === <translate>Parameters</translate> === | ||
− | + | {{Media}} | |
− |
Revision as of 17:22, 16 March 2020
Available since: Gideros 2016.1
Value: complete
Defined by: Media
Description
This event is dispatched when a video is finished playing.
Example
mediamanager:addEventListener(Event.VIDEO_COMPLETE, function()
print("Video completed")
end)
Parameters
- X Media:copy
- X Media:crop
- X Media:drawFill
- X Media:drawImage
- X Media:drawLine
- X Media:drawText
- X Media:flipHorizontal
- X Media:flipVertical
- X Media:floodFill
- X Media:getHeight
- X Media:getPath
- X Media:getPixel
- X Media:getRotation
- X Media:getWidth
- X Media:resize
- X Media:resizeHeight
- X Media:resizeWidth
- X Media:save
- X Media:setPixel
- X Media:setRotation
- X Media:trim