taucher
Posts: 0
Joined: Fri Apr 17, 2015 6:06 am

[Ionic] HTML Component ng-src

Hello,

I have a html component inside card component which is for video tag. But i couldn't bind dynamic url with ng-model or ng-src inside html content.

For example:
Here is my html component content:
code
<video width="100%" poster="" preload="metadata" controls webkit-playsinline
ng-src="{{link&#46;url}}">
</video>
%children%
/code

But console throws error :
Image

Thanks,

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

[Ionic] HTML Component ng-src

Hello,

Please open the link from that error - it should help you.
Did you create a scope variable "link" with the property "url"?

taucher
Posts: 0
Joined: Fri Apr 17, 2015 6:06 am

[Ionic] HTML Component ng-src

Hi Sergiy,

I solved the issues. It was angularjs security check.

I wrote the solution to this topic:

https://getsatisfaction.com/apperyio/topics/-ionic-video-component-or-video-inside-card

Thanks,

Return to “Issues”