Permalink
Browse files

empty alt text when field is None

  • Loading branch information...
1 parent d39796d commit 4808555a8fd9452ce57087ebae26753eeb4eba21 @pvl pvl committed Oct 27, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 filer/templates/filer/video.html
@@ -17,7 +17,7 @@
<param name="wmode" value="transparent" />
<param name="flashVars" value="config={'playlist':['{{ video.poster }}',{'url':'{{ video.format_flash }}','autoPlay':false}]}" />
<!-- fallback image. note the title field below, put the title of the video there -->
- <img src="{{ video.poster }}" alt="{{ video.default_alt_text }}"
+ <img src="{{ video.poster }}" alt="{{ video.default_alt_text|default_if_none:'' }}"
title="No video playback capabilities" />
</object>
{% endif %}

0 comments on commit 4808555

Please sign in to comment.