pause a css background video

How do I pause or stop a background video while I'm working on it in development mode? I'm using Chrome's devtools & used css to display the video with the 'background' css property.
2 Replies
AparAwasthi
AparAwasthi10mo ago
If you use video tag then we can use JS to pause video.
capt_uhu
capt_uhu10mo ago
unless there's something fancy and new i'm not aware of CSS doesn't allow background videos through the background property. Are you maybe talking about an animated image?