I’m embedding a timeline or a single widget by using the generated HTML code.
<style type="text/css">
a { color: #FFFFFF; }
</style>
<a class="twitter-timeline" href="https://twitter.com/Se_Railway" data-widget-id="${DATA_WIDGET_ID}"
data-chrome="noheader nofooter noborders noscrollbar" data-link-color="${DATA_LINK_COLOR}"></a>
<script onload="widgetLoaded()" onerror="widgetError()" src="https://platform.twitter.com/widgets.js"></script>
Sometimes the content is shown correctly, but some other time looks like the page can not be rendered correctly.
I have made a video so that is clear what happens: https://youtu.be/5bX00iDBDYw
I hope someone could help me figure out what is wrong.