javascripthtmlvkvk-sdk

VK.COM embed set start time and hide controls


How can I embed a video from vk.com and specify the time on which the video should start (eg: the video should start from the middle, or from second 5), and to hide the controls, like on YouTube?

A simple embed looks like:

<iframe src="//vk.com/video_ext.php?oid=162756656&id=171388096&hash=b82cc24232fe7f9f&hd=2" width="853" height="480" frameborder="0" allowfullscreen></iframe>

To make it autoplay I solved by adding &autoplay=1 at the end of the src url.

I tried to find an API or something else for the embed but I am unable to find it. Thank you!


Solution

  • It seems like vk.com used to support &t=1m14s parameter when it was using Flash video player, but they don't have such functionality since they moved to HTML player.

    So the answer is - there is no way to do it.