My system lags when playing videos

is there anything to install like ubuntu-restricted-extras on endeavour os to fix lag issues for specs i am using an intel i3 3rd gen pc with no graphics card