user3417196
user3417196

Reputation: 1

AngularUI Bootstrap Modal with Video flickers while loading

I am trying to display an AngularUI based Bootstrap Modal window which has embedded YouTube videos in iframes. Everything works fine but while loading the modal window flickers at least once before the entire modal content is loaded.

From whatever I researched I can understand that Bootstrap modal opens up before the contents are loaded completely and the iframes in which the Youtube videos are embedded is causing it.

Any idea why this is happening and suggestions to avoid the flicker will be appreciated.

Upvotes: 0

Views: 821

Answers (1)

Jose Alfonso
Jose Alfonso

Reputation: 41

adding ng-cloak to the template used for the dialog fixed the same issue for me.

Upvotes: 1

Related Questions