How to do something on the site as it was implemented in the VC, that is, in the VC you click on the picture, as well as in YouTube, and then the player appears, and when you insert a video, it turns out, without a picture, the player immediately. And where to get the picture that frames the player?

    1 answer 1

    When you click on the picture, draw and show a DIV inside which there is an IFRAME which gives you a tb. Well, something like:

    <iframe width="700" height="420" class="ifvideo" src="" frameborder="0" allowfullscreen=""></iframe> 

    Block display and animation are left to you.

    The picture preview is at 0.jpg Where XXXXXX is the same sequence of characters as in the video.