0
這裏是vimeo網址代碼。消毒Vimeo嵌入代碼
<object width="40" height="300"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=9082619&server=vimeo.com&show_title=1&show_byline=1&show_portrait=0&color=&fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=9082619&server=vimeo.com&show_title=1&show_byline=1&show_portrait=0&color=&fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="40" height="300"></embed></object><p><a href="http://vimeo.com/9082619">Queueing - One in a Dozen</a> from <a href="http://vimeo.com/enki">sideshow bob</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
下面是Rails的文檔的例子
<%= sanitize @app.description,
:tags => %w(table tr td),
:attributes => %w(id class styles) %>
我想只顯示視頻,沒有高度,寬度,標題等我試圖修改它在過去的20分鐘,但couldn」讓它工作。
有什麼建議嗎?
這正是我試圖做的。謝謝 – 2010-02-03 12:01:13