BarChart.get_html5_video

BarChart.get_html5_video()

Convert the animation to an HTML5 <video> tag.

This saves the animation as an h264 video, encoded in base64 directly into the HTML5 video tag. This respects the rc parameters for the writer as well as the bitrate. This also makes use of the interval to control the speed, and uses the repeat parameter to decide whether to loop.

Returns

Encoded h264 video

Return type

HTML5 <video> tag