Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed audio tag, but still get scrolling posts from android, please f…

…ix me
  • Loading branch information...
commit b9c47c4d6e2dc163b9cab389815ff039bc1ba525 1 parent f3aae2f
Sam Karp authored
View
3  geocamTalk/templates/geocamTalk/message_list.html
@@ -44,8 +44,7 @@
said
{% if m.has_geolocation %}<img src="/resources/map.png" />{%endif%}
{% if m.has_audio %}
- <audio controls="controls">
- <source src={{ m.audio_file.url }} >
+ <audio controls="controls" src="{{ m.audio_file.url }}">
</audio>
{%endif%}
</dt>
View
1  geocamTalk/views.py
@@ -114,6 +114,7 @@ def create_message_json(request):
jsonstring = request.POST["message"]
messageDict = json.loads(jsonstring)
messageDict["userId"] = request.user.pk
+ messageDict["contentTimestamp"] = datetime.now()
message = TalkMessage.fromJson(messageDict)
if "audio" in request.FILES:
Please sign in to comment.
Something went wrong with that request. Please try again.