PHP 클래스 VideoPress_XMLRPC, jetpack

부터: 1.3
파일 보기 프로젝트 열기: automattic/jetpack 1 사용 예제들

공개 메소드들

메소드 설명
create_media_item ( array $media ) : array This is used by the WPCOM VideoPress uploader in order to create a media item with specific meta data about an uploaded file. After this, the transcoding session will update the meta information via the xmlrpc_update_videopress_info() method.
init ( ) : VideoPress_XMLRPC Initialize the VideoPress_XMLRPC and get back a singleton instance.
update_videopress_info ( array $vp_info ) : array | boolean Endpoint to allow the transcoding session to send updated information about the VideoPress video when it completes a stage of transcoding.
xmlrpc_methods ( array $methods ) : array Adds additional methods the WordPress xmlrpc API for handling VideoPress specific features

비공개 메소드들

메소드 설명
__construct ( ) Private VideoPress_XMLRPC constructor.

메소드 상세

create_media_item() 공개 메소드

Note: This method technically handles the creation of multiple media objects, though in practice this is never done.
public create_media_item ( array $media ) : array
$media array
리턴 array

init() 공개 정적인 메소드

Initialize the VideoPress_XMLRPC and get back a singleton instance.
public static init ( ) : VideoPress_XMLRPC
리턴 VideoPress_XMLRPC

update_videopress_info() 공개 메소드

Endpoint to allow the transcoding session to send updated information about the VideoPress video when it completes a stage of transcoding.
public update_videopress_info ( array $vp_info ) : array | boolean
$vp_info array
리턴 array | boolean

xmlrpc_methods() 공개 메소드

Adds additional methods the WordPress xmlrpc API for handling VideoPress specific features
public xmlrpc_methods ( array $methods ) : array
$methods array
리턴 array