Anyone with html css expertise help me out with this simple problem that I am unable to solve.
Basically, my html page has a video element which has a src attribute attached to it.
Now, what i want to do is, remove this src attribute from the video element and put this source in the css class of that video element.
So, how can I set the src of the video element from css?
I have tried using url,content attributes but it does not seem to work.
Or maybe i am doing it wrong.
i would be grateful to anyone who could provide any input for this or share a small code which would use css to set the source of an html5 video element.
please help me.
Thank you.