Added support for videos.

parent c2656a5c
......@@ -251,6 +251,7 @@ class PulseEventHandler
# Massage URLs
massagedHTML = data.replace new RegExp('img src="/public', 'g'), 'img src="/public/' + person
massagedHTML = massagedHTML.replace new RegExp('video controls src="/public', 'g'), 'video controls src="/public/' + person
console.log "Message HTML with massaged URLS:"
console.log massagedHTML
......
......@@ -85,3 +85,9 @@ img
display:inline;
vertical-align: middle;
}
video
{
max-width:100%;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment