Fixed Youtube videos appearing on top of compose panel (props to @hrobertson)

This commit is contained in:
Régis Hanol
2013-11-06 17:19:02 +01:00
parent 4863c4517a
commit 8d47215ea5
4 changed files with 14 additions and 5 deletions

View File

@@ -14,7 +14,7 @@ describe Oneboxer::FlashVideoOnebox do
it "generates a flash video" do
expect(@o.onebox).to match_html(
"<object width='100%' height='100%'><param name='http://player.56.com/v_OTMyNTk1MzE.swf' value='http://player.56.com/v_OTMyNTk1MzE.swf'><embed src='http://player.56.com/v_OTMyNTk1MzE.swf' width='100%' height='100%'></embed></object>"
"<object width='100%' height='100%' wmode='opaque'><param name='http://player.56.com/v_OTMyNTk1MzE.swf' value='http://player.56.com/v_OTMyNTk1MzE.swf'><embed src='http://player.56.com/v_OTMyNTk1MzE.swf' width='100%' height='100%' wmode='opaque'></embed></object>"
)
end
end