Commit e1c1af8a authored by Ryan Lee's avatar Ryan Lee

it likes the strings, not the numbers

parent 1528876c
......@@ -14,8 +14,8 @@ module OpenProject::VideoWikiMacro
desc "OpenProject video macro. Use as {{video(<url>[,<width>,<height>])}}."
macro :video do |video_wiki_content, args|
url = ""
w = 600
h = 400
w = "600"
h = "400"
if args.length >= 1
url = args[0]
if args.length == 3
......
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