An approach to understanding this would be to try to create it. Also helpful would be research on how to avoid it. Aircraft routinely break the sonic barrier these days, using power to move through the "barrier" with little risk of damage. Earlier aircraft, lacking the knowledge of "area rule" and effect of shock waves on control surfaces, in addition to less power, had more difficulty. The keys: proper design and sufficient power. Avoid staying in transsonic speeds. Either above or below.
Now to understand the phenomena. Air, like water, can absorb energy in waves. Waves
can harmonicly reinforce one another and combine into a larger wave. What may be happening in the video is that oscillations in the shock wave front, under certain conditions,
will combine into a larger wave and move back and forth over the wing.
Possible cures for this behavior would be to change to configuration of the wing. Here a wealth of information exists. My first pick would be the delta, as it's strong vortex flow might
tend to break up an oscillation. Other wing types or modifications such as dog tooth and turbulators could be tried.
But the best solution may be not to hang around transsonic too long.