2014-07-10 22:10:03 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module VideoPlayer
|
|
|
|
-- @extend Widget
|
2014-07-17 15:46:20 +08:00
|
|
|
-- @parent_module ccexp
|
2014-07-10 22:10:03 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#VideoPlayer] getFileName
|
|
|
|
-- @param self
|
|
|
|
-- @return string#string ret (return value: string)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#VideoPlayer] getURL
|
|
|
|
-- @param self
|
|
|
|
-- @return string#string ret (return value: string)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#VideoPlayer] play
|
|
|
|
-- @param self
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#VideoPlayer] pause
|
|
|
|
-- @param self
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#VideoPlayer] setKeepAspectRatioEnabled
|
|
|
|
-- @param self
|
|
|
|
-- @param #bool bool
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#VideoPlayer] resume
|
|
|
|
-- @param self
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#VideoPlayer] stop
|
|
|
|
-- @param self
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#VideoPlayer] setFullScreenEnabled
|
|
|
|
-- @param self
|
|
|
|
-- @param #bool bool
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#VideoPlayer] setFileName
|
|
|
|
-- @param self
|
|
|
|
-- @param #string str
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#VideoPlayer] setURL
|
|
|
|
-- @param self
|
|
|
|
-- @param #string str
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#VideoPlayer] isKeepAspectRatioEnabled
|
|
|
|
-- @param self
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#VideoPlayer] onPlayEvent
|
|
|
|
-- @param self
|
2014-07-17 21:26:35 +08:00
|
|
|
-- @param #int int
|
2014-07-10 22:10:03 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#VideoPlayer] isFullScreenEnabled
|
|
|
|
-- @param self
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#VideoPlayer] isPlaying
|
|
|
|
-- @param self
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#VideoPlayer] seekTo
|
|
|
|
-- @param self
|
|
|
|
-- @param #float float
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#VideoPlayer] create
|
|
|
|
-- @param self
|
|
|
|
-- @return experimental::ui::VideoPlayer#experimental::ui::VideoPlayer ret (return value: cc.experimental::ui::VideoPlayer)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#VideoPlayer] draw
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.Renderer renderer
|
|
|
|
-- @param #mat4_table mat4
|
|
|
|
-- @param #unsigned int int
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#VideoPlayer] setVisible
|
|
|
|
-- @param self
|
|
|
|
-- @param #bool bool
|
|
|
|
|
|
|
|
return nil
|