Helper::get_post_player_size
Get the video embed size for the current post.
Get the video embed size for the current post.
Output video parameters as data-* attributes.
Add video player script to page.
Calculate player height from given aspect ratio and width.
Returns embed options for the post.
Disable for automatic imports.
Update video playback options
Class Video_Import
Unpublish the post by changing its status
Video_Import constructor.
Set video ID meta
Set video url meta
Set featured image on post
Return duration in ISO format (ie. PT1H43M23S)
Returns embed URL