How to insert video on your website with OpenID?

In the database there is data like this

video-112250475_456239337

Still have the video id and owner_id

Question - how to insert to the site? Way to make you more and the fact that the video is still hosted on YouTube?
June 27th 19 at 15:17
1 answer
June 27th 19 at 15:19
Solution
As an option to do export ready from the VC (Share → Export )
The formation of the iframe code as I understand it is impossible without an API. Because the parameter hash generated salt for each video individually. Of course, with the goal to VK video hosting did not. Also built-in to any third party website, a video played, even if it is closed privacy
<iframe src="//vk.com/video_ext.php?oid=158255719&id=456239402&hash=96de8c1d1d9822c6&hd=2" width="853" height="480" frameborder="0" allowfullscreen> </iframe>

As an option, you NEED to use the API. https://vk.com/pages?oid=-1&p=video.get
After get the response in JSON, you are interested in the Parameter :
"player":"http:\/\/vkontakte.ru\/video_ext.php?oid=13245770&id=137352259&hash=47b1a5a52121a243"

Well, now we have got src. You can generate and iframe.
Here is the (approximate) answer to a solution to your problem: https://habrahabr.ru/sandbox/57173/
thanks.. - Aliyah.Grah commented on June 27th 19 at 15:22

Find more questions by tags VKontakte