Warning. This API is no longer supported and will be disabled on Feb 1, 2021.
You can simplify embedding coubs to Wordpress-powered sites with the Coub Wordpress plugin. With this plugin installed you can embed a coub by pressing Add Media → Insert from URL, via [embed]
shortcode; or simply paste the coub’s url in a separate line, and it will automatically become an embed.
With this plugin you can use the URL to embed videos. Just paste the video URL into your post editor:
https://coub.com/view/4211j
How do I set custom dimentions to my videos?
In WordPress 4.2 you cab double click the embedded video to set max width and max height dimentions. It will add the WordPress [embed]
shortcode:
[embed width="600" height="400"]https://coub.com/view/4211j[/embed]
Note: Doing it the WordPress way, using the [embed]
shortcode, is backwards and forward compatible, and it works with all the themes.