K
K
KennySP2016-03-07 10:01:19
css
KennySP, 2016-03-07 10:01:19

How to make a video mask?

There is a YouTube frame in html, you need to make a mask-button on it, take.ms/FT8Zu - here is a button that would start the video when clicked.
What is the best way to implement this in css and js?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Mr Crabbz, 2016-03-07
@KennySP

https://github.com/tylerpearson/lazyYT

K
Konstantin Velichko, 2016-03-07
@Zoxon

1. Pull a picture from YouTube
http://img.youtube.com/vi/{{video-id}}/0.jpg
2. Stylize as needed.
3. Click to launch the video via the API

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question