Hi Dorvit,
my goal was to make the img look like a real videoplayer. This was important to me because I didn’t want to confuse the people who use the player and let them end up in not clicking on it.
Why do you want to make a smaller player? Or do you mean a feature like the enlargment of the player on youtube? Do you have an example somewhere?
– Marc
Thread Starter
dorvit
(@dorvit)
hi! thanks for your answer and thanks so much for your plugin!
I would like to have a full width image that says “watch the video” with the play icon, but the height for this image should be less (half) than the height of the video. And then when you click on the play icon you can see the full width video with its own height.
Now I managed to add a custom image (with custom CSS) that replace the vimeo thumbnail in the line 91
$(“.img”, vidimg).replaceWith(‘<img src=”film.png”>’);
So now I have image and video with different height but I would like to have also a good transition effect between these two values. Is it possible?
Thank you
Doriana
Yes, you can do that with CSS Transitions I guess:
http://codepen.io/LFeh/pen/ICkwe