Title: vk.com
Last modified: August 21, 2016

---

# vk.com

 *  Resolved [akapellos](https://wordpress.org/support/users/salat-production/)
 * (@salat-production)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/vkcom-1/)
 * Can you please add support for vk.com? Thx in advance.
 * url format:
    `http://vk.com/video11111111_22222222`
 * embed format:
    `<iframe src="http://vk.com/video_ext.php?oid=11111111&id=22222222&
   hash=7cd3be52bfd40131&hd=3" width="607" height="360" frameborder="0"></iframe
   >`
 * [http://wordpress.org/plugins/video-thumbnails/](http://wordpress.org/plugins/video-thumbnails/)

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Plugin Author [Sutherland Boswell](https://wordpress.org/support/users/sutherlandboswell/)
 * (@sutherlandboswell)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/vkcom-1/#post-4526073)
 * I might be able to add support, could you provide a working embed code I can 
   test with?
 *  Thread Starter [akapellos](https://wordpress.org/support/users/salat-production/)
 * (@salat-production)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/vkcom-1/#post-4526084)
 * <iframe src=”[http://vk.com/video_ext.php?oid=157000410&id=164106383&hash=0fdb5f49218be7c2&hd=1&#8243](http://vk.com/video_ext.php?oid=157000410&id=164106383&hash=0fdb5f49218be7c2&hd=1&#8243);
   width=”607″ height=”360″ frameborder=”0″></iframe>
 * [http://vk.com/video157000410_164106383](http://vk.com/video157000410_164106383)
 *  [romapad](https://wordpress.org/support/users/romapad/)
 * (@romapad)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/vkcom-1/#post-4526093)
 * It would be great to add vk.com support! Maybe this working code will help you:
 *     ```
       <?php
       // parser lib  (http://simplehtmldom.sourceforge.net/)
       include('simple_html_dom.php');
   
       $code = '<iframe src="http://vk.com/video_ext.php?oid=-60220601&id=166760404&hash=307c2bbd071b9440&hd=1" width="607" height="360" frameborder="0"></iframe>';
   
       // getting url of player, and src attr from iframe tag
       $code_dom = str_get_html($code);
       $url_in = $code_dom->find('iframe', 0)->src;
   
       // loading and parsing player code
       $html = file_get_html($url_in);
       // finding image by ID=player_thumb and taking src attribute
       $img = $html->find('#player_thumb', 0)->src;
   
       // showing result
       echo '<img alt="" src="'.$img.'" />';
   
       ?>
       ```
   
 *  Plugin Author [Sutherland Boswell](https://wordpress.org/support/users/sutherlandboswell/)
 * (@sutherlandboswell)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/vkcom-1/#post-4526108)
 * Version 2.6 is out today with support for VK iFrame embeds. Please test it out,
   let me know if there’s any problems, and remember to leave a review!
 *  [romapad](https://wordpress.org/support/users/romapad/)
 * (@romapad)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/vkcom-1/#post-4526109)
 * provider test is going right, but if I try to put iframe code, then it is showing“
   no thumbnail found”. I running wordpress 3.6 website, and cannot upgrade, because
   automatic youtube posts plugin doesn’t working on later version. May be that’s
   the reason. I’ll try tommorow test on newest wordpress site.
 *  Plugin Author [Sutherland Boswell](https://wordpress.org/support/users/sutherlandboswell/)
 * (@sutherlandboswell)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/vkcom-1/#post-4526111)
 * I use using the iframe from the sample code you posted? Just realized it contains
   a “-” before the number after “oid=”. If you test it with the code akapellos 
   posted it works fine, so I’ll release a fix sometime tonight for the “-” bug.
 *  [romapad](https://wordpress.org/support/users/romapad/)
 * (@romapad)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/vkcom-1/#post-4526114)
 * Great! Big thanks!!!
 *  Plugin Author [Sutherland Boswell](https://wordpress.org/support/users/sutherlandboswell/)
 * (@sutherlandboswell)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/vkcom-1/#post-4526115)
 * Hope you’ll consider leaving a review!
 *  Thread Starter [akapellos](https://wordpress.org/support/users/salat-production/)
 * (@salat-production)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/vkcom-1/#post-4526121)
 * Hell Yeah!

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘vk.com’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/video-thumbnails_3e6f7f.svg)
 * [Video Thumbnails](https://wordpress.org/plugins/video-thumbnails/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/video-thumbnails/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/video-thumbnails/)
 * [Active Topics](https://wordpress.org/support/plugin/video-thumbnails/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/video-thumbnails/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/video-thumbnails/reviews/)

 * 9 replies
 * 3 participants
 * Last reply from: [akapellos](https://wordpress.org/support/users/salat-production/)
 * Last activity: [12 years, 2 months ago](https://wordpress.org/support/topic/vkcom-1/#post-4526121)
 * Status: resolved