<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
    <title></title>
  </head>
  <body bgcolor="#ffffff" text="#000000">
    On 22/09/2010 4:26 p.m., Shiv Kumar wrote:
    <blockquote cite="mid:007701cb5a0e$455cc220$d0164660$@com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <meta name="Generator" content="Microsoft Word 12 (filtered
        medium)">
      <style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
 /* List Definitions */
 @list l0
        {mso-list-id:675692008;
        mso-list-type:hybrid;
        mso-list-template-ids:1242610668 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level2
        {mso-level-tab-stop:1.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level3
        {mso-level-tab-stop:1.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level4
        {mso-level-tab-stop:2.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level5
        {mso-level-tab-stop:2.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level6
        {mso-level-tab-stop:3.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level7
        {mso-level-tab-stop:3.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level8
        {mso-level-tab-stop:4.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level9
        {mso-level-tab-stop:4.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
-->
</style><!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
      <div class="WordSection1"><span style="font-size: 11pt;
          font-family: "Calibri","sans-serif";
          color: rgb(31, 73, 125);"><o:p> </o:p></span>
        <span style="font-size: 11pt; font-family:
          "Calibri","sans-serif"; color: rgb(31, 73,
          125);"><o:p> </o:p></span>
        <p class="MsoNormal">>What I suggested was to use a call to
          the load()<span style="font-size: 11pt; font-family:
            "Calibri","sans-serif"; color: rgb(31,
            73, 125);"><o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size: 11pt; font-family:
            "Calibri","sans-serif"; color: rgb(31,
            73, 125);"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="font-size: 11pt; font-family:
            "Calibri","sans-serif"; color: rgb(31,
            73, 125);">So in your mind calling load() implies showing
            the poster?</span></p>
      </div>
    </blockquote>
    <br>
    I think we should change to this. Then every call to load() would
    have the same effect.<br>
    <br>
    We should also tighten up the language so that the poster <i>must</i>
    be shown up until playback begins or a seek completes, rather than <i>can</i>
    be shown though. That would (hopefully!) ensure cross browser
    consistency.<br>
    <br>
    <blockquote cite="mid:007701cb5a0e$455cc220$d0164660$@com"
      type="cite">
      <div class="WordSection1">
        <p class="MsoNormal"><span style="font-size: 11pt; font-family:
            "Calibri","sans-serif"; color: rgb(31,
            73, 125);"><o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size: 11pt; font-family:
            "Calibri","sans-serif"; color: rgb(31,
            73, 125);"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="font-size: 11pt; font-family:
            "Calibri","sans-serif"; color: rgb(31,
            73, 125);">The other reason (that I’ve mentioned repeatedly)
            for not
            wanting to use the load method is this:<o:p></o:p></span></p>
        <p class="MsoListParagraph" style="text-indent: -0.25in;"><!--[if !supportLists]--><span
            style="font-size: 11pt; font-family:
            "Calibri","sans-serif"; color: rgb(31,
            73, 125);"><span style="">1.<span style="font: 7pt
                "Times New Roman";">      
              </span></span></span><!--[endif]--><span style="font-size:
            11pt; font-family:
            "Calibri","sans-serif"; color: rgb(31,
            73, 125);">The load method has way too many side effects
            including events
            no less, oh and did I mention have the player now go to
            pause and have the
            readyState switch to HAVE_NOTHING, when there is meta data
            and to Network state
            go to empty when it’s really idle? Gosh, I could take almost
            every other step
            in the media element load algorithm stated procedure…<o:p></o:p></span></p>
        <p class="MsoListParagraph" style="text-indent: -0.25in;"><!--[if !supportLists]--><span
            style="font-size: 11pt; font-family:
            "Calibri","sans-serif"; color: rgb(31,
            73, 125);"><span style="">2.<span style="font: 7pt
                "Times New Roman";">      
              </span></span></span><!--[endif]--><span style="font-size:
            11pt; font-family:
            "Calibri","sans-serif"; color: rgb(31,
            73, 125);">These side (I’ve only listed  small number above)
            effects
            are not desireable when all we want to do is turn on/off the
            poster.</span></p>
      </div>
    </blockquote>
    <br>
    I agree, you don't want all those side effects just to show the
    poster. If you want to change when the poster appears, you're better
    off creating your own poster as an image element. <br>
    <br>
    The "just show the poster until I play or seek" case is the common
    case. If you want to customize your player, you can still do that.<br>
    <br>
    <blockquote cite="mid:007701cb5a0e$455cc220$d0164660$@com"
      type="cite">
      <div class="WordSection1">
        <p class="MsoListParagraph" style="text-indent: -0.25in;"><span
            style="font-size: 11pt; font-family:
            "Calibri","sans-serif"; color: rgb(31,
            73, 125);"><o:p></o:p></span></p>
        <p class="MsoListParagraph" style="text-indent: -0.25in;"><!--[if !supportLists]--><span
            style="font-size: 11pt; font-family:
            "Calibri","sans-serif"; color: rgb(31,
            73, 125);"><span style="">3.<span style="font: 7pt
                "Times New Roman";">      
              </span></span></span><!--[endif]--><span style="font-size:
            11pt; font-family:
            "Calibri","sans-serif"; color: rgb(31,
            73, 125);">Alter the load alogorithm to now fiddle with the
            poster will
            impact the other use case I’ve mentioned and that is, the
            ability to be able to
            switch media in mid play. We call the load() method to be
            able to do this
            (because of the things it does do listed above). So now
            we’ll have the poster
            become visible while we’re trying to switch video streams?</span></p>
      </div>
    </blockquote>
    <br>
    You can implement "media switching in mid play" by loading the new
    resource in a new video element, seeking to the switch over point,
    and then swapping the new video element in place of the old one.
    When you call load(), the poster will be shown, but when the seek
    completes, the poster image will be replaced by the frame at the
    seek target location.<br>
    <br>
    This would be quicker than stopping playback of the existing
    resource, starting a new load in the existing media element, waiting
    for the new load to initialize, waiting for the seek to the change
    over point to complete, and then resuming playback. Unlike your
    proposed method, it can be done without needing to stop playback.<br>
    <br>
    Given that this better alternative method exists to achieve what you
    want, I don't think your case 3 is a strong argument against
    displaying the poster every time we call load().<br>
    <br>
    <br>
    Regards,<br>
    Chris P.<br>
  </body>
</html>