Difficult to be sure from video, but immediate reaction would be maybe something up with the ignition. Ignition timing misfire rather than mechanical? Age and wear and tear on wires, connectors and joints. Don't be downhearted, eventual victory over difficult and annoying problems is one of the joys of dirtbike ownership