I am looking for a way in which to constantly loop a video which I am returning from a WebAPI call. On my web page I have a list of files, which when you click them, hits the webapi to return the data, and then renders the data in an \[code\]<object>\[/code\] HTML tag. This works perfectly well for images, and is working for movies as well, just not on a loop.My return method looks like: \[code\]try{ var content = //get content from db HttpResponseMessage result = new HttpResponseMessage(HttpStatusCode.OK); result.Content = new ByteArrayContent(content.File); result.Content.Headers.ContentType = new MediaTypeHeaderValue("video/x-ms-wmv"); result.Headers.CacheControl = new CacheControlHeaderValue(); result.Headers.CacheControl.Private = true; return result;}catch (Exception err){ throw err;}\[/code\]I am then using jquery to create change the data attribute in the object tag, resulting in HTML which is like:\[code\]<object id="container" type="video/x-ms-wmv" data="http://stackoverflow.com/questions/15831427/mysource/call"></object>\[/code\]I have tried adding inside the object a \[code\]<param name="loop" value="http://stackoverflow.com/questions/15831427/true" >\[/code\] but that does not seem to do the trick.Is this possible to do on data which is being returned in a HTTPResponse, or does it only work with actual files? Or am I going around this in the wrong way?