title: Calling a method that created in helper method
body: <p>I created this helper:</p>
  
  <pre><code>public static MvcHtmlString MyPlayer(this HtmlHelper helper, string mediafile, int height, int width)
  {
      var player =
          @"&lt;embed height=""{0}"" width=""{1}"" flashvars=""...""
                          allowfullscreen=""true""
                          quality=""high""
                          name="" src=""...""
                          type=""application/x-shockwave-flash""&gt;";
  
      player = string.Format(player, height, width, mediafile);
      return new MvcHtmlString(player);
  }
  </code></pre>
  
  <p>Now I want to show the video in Razor. So I call this helper in razor like this: </p>
  
  <p>My View:</p>
  
  <pre><code>@{
      ViewBag.Title = "Index";
  }
  
  &lt;h2&gt;Index&lt;/h2&gt;
  @Html.MyPlayer("ViedoCodeformediafileparameter", 400, 500)
  </code></pre>
  
  <p><strong>My question is:</strong> In page source it just generates an <strong>embed</strong> tag. Should I use any player tag like video to play this video? If so, How should I use it in this case that I use helper method because currently it shows nothing?</p>