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:
https://docs.nvidia.com/jetson/l4t-multimedia/index.html
https://docs.nvidia.com/jetson/l4t/index.html#page/Tegra%2520Linux%2520Driver%2520Package%2520Development%2520Guide%2Faccelerated_gstreamer.html%23

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