public void TestVideoTagWithAttributes()
{
var attributes = new StringDictionary(
"autoplay=true",
"controls",
"loop",
"muted=true",
"preload",
"style=border: 1px");
var expectedUrl = m_defaultVideoUpPath + "movie";
var expectedTag = "<video autoplay='true' controls loop muted='true' poster='{0}.jpg' preload style='border: 1px'>"
+ "<source src='{0}.webm' type='video/webm'>"
+ "<source src='{0}.mp4' type='video/mp4'>"
+ "<source src='{0}.ogv' type='video/ogg'>" + "</video>";
expectedTag = String.Format(expectedTag, expectedUrl);
Assert.AreEqual(expectedTag, m_api.UrlVideoUp.BuildVideoTag("movie", attributes).ToString());
}