Open changyh opened 11 years ago
This error can be fixed by a following patch.
--- chapter3/views/example2.jade.orig 2013-08-21 23:23:36.519583828 +0900 +++ chapter3/views/example2.jade 2013-08-22 00:35:33.947987238 +0900 @@ -25,7 +25,7 @@ style h2 Hack #30 Create Custom Video Controls with Video APIs video(id='myVideo', width='480', controls, height='360', poster='examples/sanfran.jpg', src='examples/sanfran.m4v') track(src="/examples/subtitles.vtt", type="text/vtt", kind="subtitles", srclang="en", label="English", default) - div(style='margin-bottom:30px) + div(style='margin-bottom:30px') button.button.skipBack skip back button.button.stop stop button.button.play play
Express 500 Error: C:\downloads\chapter3-master/views/example2.jade:6 4| video(id='myVideo', width='480', controls, height='360', poster='examples/sanfran.jpg', src='examples/sanfran.m4v') 5| track(src="/examples/subtitles.vtt", type="text/vtt", kind="subtitles", srclang="en", label="English", default) > 6| div(style='margin-bottom:30px) 7| button.button.skipBack skip back 8| button.button.stop stop 9| button.button.play play The end of the string was reached with no closing bracket found. 4| video(id='myVideo', width='480', controls, height='360', poster='examples/sanfran.jpg', src='examples/sanfran.m4v') 5| track(src="/examples/subtitles.vtt", type="text/vtt", kind="subtitles", srclang="en", label="English", default)