AngularJS: ng-src behavior on non-standard attributes?

前端 未结 4 1472
温柔的废话
温柔的废话 2021-02-13 03:17

I\'m integrating a media player in my app using the \"Video For Everybody\" generator. As the player features a fallback to flash if the browser doesn\'t support HTML5 vid

4条回答
  •  自闭症患者
    2021-02-13 03:39

    I ran into a similar issue with the poster attribute on a video tag. If you apply ng-cloak to elements that have src-like attributes, they won't try to load anything until they become visible when the cloak is removed.

提交回复
热议问题