Customizing a Video element with CSS? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Customizing a Video element with CSS?

I've made a webpage and added a video element for the video but video player and controls look weird. Is it possible to add styles and customize the video element without JS or other languages? I'm new to HTML and CSS and don't know anything about JS.

29th Nov 2017, 9:25 AM
Hamza Humair
Hamza Humair - avatar
6 Answers
+ 3
Answering your question - no. Without JS it is impossible to tie logic to any buttons of your player, or to do anything else. html and css do not have the necessary functions for this, so...
29th Nov 2017, 9:36 AM
stKhaDgar
stKhaDgar - avatar
+ 3
You could customise the video frame with HTML/CSS https://code.sololearn.com/WwkTaBFOzheM/?ref=app
29th Nov 2017, 11:05 AM
Calviղ
Calviղ - avatar
0
U need to make your player. Then u will have the opportunity to change it
29th Nov 2017, 9:28 AM
stKhaDgar
stKhaDgar - avatar
0
I've already added the video element and a video to play..
29th Nov 2017, 9:31 AM
Hamza Humair
Hamza Humair - avatar
0
aight thnx for the help pal👍
29th Nov 2017, 9:37 AM
Hamza Humair
Hamza Humair - avatar
0
U are welcome :)
29th Nov 2017, 9:38 AM
stKhaDgar
stKhaDgar - avatar