Filip Degenhart

0

votes
0

answer
4

views

Getting DOMException with playing video onload

I want to play a video when the website is loaded. For that I am using the following code: window.onload = function webisteLoaded() { var main_bg_video = document.getElementById('main_bg_video'); main_bg_video.play(); } Your browser does not support HTML5 video. Additional info: I import the s...
Filip Degenhart
1

votes
5

answer
0

views

Center not everything in div [duplicate]

This question already has an answer here: Center HTML Input Text Field Placeholder 8 answers Here is my HTML Code: .kobel_perm { height: auto; border-radius: 5px; box-shadow: 1px 1px 5px #0d0d0d; } .kobel_input_cont { justify-content: center; align-items:center; } .kobelK { padding: 5p...
Filip Degenhart
0

votes
1

answer
24

views

Div flicker when fading in and out with timeout

one div I am using like a done msg. It should appear when a process is finished and disappear after a few seconds. For that I coded this little code snippet: function showProcessFinishedMsg(msg) { var done_msg = document.getElementById('done_msg'); var done_msg_text = document.getElementById('do...
Filip Degenhart