4k videos are lagging on Nvidea Jetson Xavier nx

I am trying to stream 4k videos on chromium on youtube. But they are lagging a lot. I installed jtop to see the stats. and I notice that cpu usage goes to 100% on all cores and NVDEC/NVENC are turned off. Is there a way to fix it, I really want to watch youtube videos at 4k

Moving to Jetson Xavier NX forum for resolution.

Hi,
Hardware decoding is not enabled in chromium. Please try gstreamer or jetson_multimedia_api:

Hey, Is there a way to enable hardware decoding in chromium?