The windshield have two structural panes, either one of which can support the full aerodynamic and pressurization loads. Between those panes is a layer of conductive material which, when energized, heats the window. The window heat is on for all phases of flight as the heated window is more flexible and can withstand bird strikes better than an unheated window.
When a pane fails you often have the arcing as shown in the video. The procedure will have you deactivate the window heat for the affected pane and also includes the restrictions for no flight through know icing conditions and to not exceed 250kts below 10,000' due to the reduced bird strike protection of the unheated pane (because there are situations where you can fly faster than 250kts below 10,000').