caitp / ng-media

AngularJS support for HTML5 media elements
http://caitp.github.io/ng-media
40 stars 4 forks source link

Don't interpolate sources/tracks unless interpolation markers are present #23

Open caitp opened 10 years ago

caitp commented 10 years ago

The API is a bit confusing, because if an expression evaluates to undefined, then it's treated as a string constant.

This isn't very good, and can lead to undesirable effects. This ought to be fixed. Perhaps an alternative attribute should be used for interpolation