<video> and x-sendfile
Using <object> and <embed> were forbidden for obvious security reasons. Instiki now permits embedding video via the HTML5 <video> element (Ogg/Theora encoded videos only, with .ogg or .ogv extensions). You can even upload videos with [[foo.ogg:video]] Instiki now support x-sendfile. See the Proxying page for configuring Apache (with the x-sendfile module). Lighttpd should work similarly. Update Rails to latest Edge (hopefully converging on RC2!).
This commit is contained in:
parent
133c21b801
commit
8ea8b6a8f7
45 changed files with 872 additions and 751 deletions
|
@ -683,7 +683,7 @@ Within the context of a layout, +yield+ identifies a section where content from
|
|||
</head>
|
||||
<body>
|
||||
<%= yield %>
|
||||
<hbody>
|
||||
</body>
|
||||
</html>
|
||||
</erb>
|
||||
|
||||
|
@ -696,7 +696,7 @@ You can also create a layout with multiple yielding regions:
|
|||
</head>
|
||||
<body>
|
||||
<%= yield %>
|
||||
<hbody>
|
||||
</body>
|
||||
</html>
|
||||
</erb>
|
||||
|
||||
|
@ -723,7 +723,7 @@ The result of rendering this page into the supplied layout would be this HTML:
|
|||
</head>
|
||||
<body>
|
||||
<p>Hello, Rails!</p>
|
||||
<hbody>
|
||||
</body>
|
||||
</html>
|
||||
</erb>
|
||||
|
||||
|
@ -822,7 +822,7 @@ Every partial also has a local variable with the same name as the partial (minus
|
|||
<%= render :partial => "customer", :object => @new_customer %>
|
||||
</erb>
|
||||
|
||||
Within the +customer+ partial, the +@customer+ variable will refer to +@new_customer+ from the parent view.
|
||||
Within the +customer+ partial, the +customer+ variable will refer to +@new_customer+ from the parent view.
|
||||
|
||||
WARNING: In previous versions of Rails, the default local variable would look for an instance variable with the same name as the partial in the parent. This behavior is deprecated in Rails 2.2 and will be removed in a future version.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue