<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    That's a good question, and I don't know the answer to that.<br>
    <br>
    This could get pretty complicated.<br>
    <br>
    <div class="moz-cite-prefix">Julian Tenney schreef op 13-7-2015 om
      11:10:<br>
    </div>
    <blockquote
cite="mid:5C33B277BFD6E9458C6D394195F98CF6026862@UiWexMBX07.ad.nottingham.ac.uk"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <meta name="Generator" content="Microsoft Word 14 (filtered
        medium)">
      <!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
      <style><!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Courier New \, serif \, serif";
        panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
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;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New","serif";
        color:black;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";
        color:black;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.EmailStyle21
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle22
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle23
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></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">
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">OK.
            It’s basically working though, if it wants tweaking a bit to
            line up with the existing code that’s fine.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Do
            you think it would be acceptable if you had to add your own
            key to make an exported file work? I can’t think of another
            way: we can’t use a generic ‘xerte project’ key, and as an
            institution I would be uneasy with an exported piece taking
            my key with it: god knows where it might end up or what it
            might be used for.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
        <div>
          <div style="border:none;border-top:solid #B5C4DF
            1.0pt;padding:3.0pt 0cm 0cm 0cm">
            <p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext"
                  lang="EN-US">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext"
                lang="EN-US"> <a class="moz-txt-link-abbreviated" href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a>
                [<a class="moz-txt-link-freetext" href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">mailto:xerte-dev-bounces@lists.nottingham.ac.uk</a>] <b>On
                  Behalf Of </b>Tom Reijnders<br>
                <b>Sent:</b> 13 July 2015 09:47<br>
                <b>To:</b> For Xerte technical developers<br>
                <b>Subject:</b> [Xerte-dev] Re: Youtube RSS<o:p></o:p></span></p>
          </div>
        </div>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal" style="margin-bottom:12.0pt">The chain is
          as follows:<br>
          <br>
          the main play.php will use the <module> play.php after
          having figured out what the model is.<br>
          <br>
          The way I have set the other javascript variables is by
          setting them in the html templates of the module
          (rloObject.htm) and use a stub for where I want to replace a
          text with php (like %RLO_PATH%). Then in the modules play.php
          and preview.php I replace those stubs with the correct values.
          This happens right above you code insertion.<br>
          <br>
          Export generates the index.htm in much the same way, so it's
          all consistent.<br>
          <br>
          I'll have a look next weekend.<br>
          <br>
          Tom<br>
          <br>
          <o:p></o:p></p>
        <div>
          <p class="MsoNormal">Julian Tenney schreef op 13-7-2015 om
            10:19:<o:p></o:p></p>
        </div>
        <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
          <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I’m
              not sure how else we can approach it?
            </span><o:p></o:p></p>
          <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
          <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I
              have to admit I find the chain of play.php,
              modules/xerte/play.php and how all that works confusing.
              It does seem to work when I preview and play though?</span><o:p></o:p></p>
          <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
          <div>
            <div style="border:none;border-top:solid #B5C4DF
              1.0pt;padding:3.0pt 0cm 0cm 0cm">
              <p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext"
                    lang="EN-US">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext"
                  lang="EN-US">
                  <a moz-do-not-send="true"
                    href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a>
                  [<a moz-do-not-send="true"
                    href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">mailto:xerte-dev-bounces@lists.nottingham.ac.uk</a>]
                  <b>On Behalf Of </b>Tom Reijnders<br>
                  <b>Sent:</b> 11 July 2015 14:14<br>
                  <b>To:</b> For Xerte technical developers<br>
                  <b>Subject:</b> [Xerte-dev] Re: Youtube RSS</span><o:p></o:p></p>
            </div>
          </div>
          <p class="MsoNormal"> <o:p></o:p></p>
          <p class="MsoNormal" style="margin-bottom:12.0pt">Julian,<br>
            <br>
            Not sure if the api_keys solution is going to work out.<br>
            <br>
            The way it's solved now, doesn't work for exported LO's.<br>
            <br>
            Also, there was a small typo in modules/xerte.play.php
            (Which I fixed), and shouldn't the same code be applied to
            preview as well?<br>
            <br>
            But I am worried about export. Let me think of a solution
            there.<br>
            <br>
            Tom<br>
            <br>
            <br>
            <o:p></o:p></p>
          <div>
            <p class="MsoNormal">Julian Tenney schreef op 9-7-2015 om
              14:04:<o:p></o:p></p>
          </div>
          <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
            <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">No
                you can’t do onload=object.method. Tested it again: they
                obviously don’t treat it as an expression, simply the
                name of a function. I even tried
                onload=alert(‘something’); but it seems it’s simply a
                string, and it’s not interpreted.</span><o:p></o:p></p>
            <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
            <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I
                know all about setInterval and the like as they were a
                common feature in the old xerte flash engine, and you
                couldn’t work around them: it could lead to a complete
                nightmare in some cases. Sometimes a value of 0 was
                enough to let the value of things take before the next
                code executed; otherwise – and here’s the thing I hate –
                you basically pick a number and hope for the best.
                What’s to say, that just because 500 m/s is enough on my
                machine, it’s enough on yours? Why are we still in this
                situation in 2015?</span><o:p></o:p></p>
            <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
            <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I’m
                finding some suggested alternativs using $.ajax instead
                of $.getScript, but am still finding problems, I think
                they might be firefox specific from what I’m reading.</span><o:p></o:p></p>
            <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
            <div>
              <div style="border:none;border-top:solid #B5C4DF
                1.0pt;padding:3.0pt 0cm 0cm 0cm">
                <p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif""
                      lang="EN-US">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif""
                    lang="EN-US">
                    <a moz-do-not-send="true"
                      href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a>
                    [<a moz-do-not-send="true"
                      href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">mailto:xerte-dev-bounces@lists.nottingham.ac.uk</a>]
                    <b>On Behalf Of </b>Smith, John<br>
                    <b>Sent:</b> 09 July 2015 12:58<br>
                    <b>To:</b> For Xerte technical developers<br>
                    <b>Subject:</b> [Xerte-dev] Re: Youtube RSS</span><o:p></o:p></p>
              </div>
            </div>
            <p class="MsoNormal"> <o:p></o:p></p>
            <div>
              <p class="MsoNormal">Yeah, its a pain to have to use
                timeout but sometimes there is no other way... does
                using the onload parameter not work?<o:p></o:p></p>
            </div>
            <div>
              <p class="MsoNormal"> <o:p></o:p></p>
            </div>
            <div>
              <p class="MsoNormal">John<o:p></o:p></p>
            </div>
            <div>
              <p class="MsoNormal"> <o:p></o:p></p>
            </div>
            <div>
              <p class="MsoNormal"> <o:p></o:p></p>
            </div>
            <div>
              <div>
                <p class="MsoNormal">Sent from Samsung tablet<br>
                  <br>
                  Please send all enquiries to our shared Blended
                  Learning inbox at <a moz-do-not-send="true"
                    href="mailto:hlsblt@gcu.ac.uk">
                    hlsblt@gcu.ac.uk</a> and one of the Learning
                  Technologists will respond.<o:p></o:p></p>
              </div>
            </div>
            <p class="MsoNormal" style="margin-bottom:12.0pt"><br>
              <br>
              <br>
              -------- Original message --------<br>
              From: Julian Tenney <<a moz-do-not-send="true"
                href="mailto:Julian.Tenney@nottingham.ac.uk">Julian.Tenney@nottingham.ac.uk</a>>
              <br>
              Date: 09/07/2015 12:03 (GMT+00:00) <br>
              To: For Xerte technical developers <<a
                moz-do-not-send="true"
                href="mailto:xerte-dev@lists.nottingham.ac.uk">xerte-dev@lists.nottingham.ac.uk</a>>
              <br>
              Subject: [Xerte-dev] Re: Youtube RSS <br>
              <br>
              <br>
              <br>
              <o:p></o:p></p>
            <div>
              <p class="MsoNormal"
                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                  style="color:#1F497D">OK, got it mostly working: you
                  want descriptions in there as well (i.e. below)?</span><o:p></o:p></p>
              <p class="MsoNormal"
                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                  style="color:#1F497D"> </span><o:p></o:p></p>
              <p class="MsoNormal"
                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                  style="color:#1F497D">I have to do a
                </span>window.setTimout<span style="color:#1F497D"> to
                  handle the script loading through
                </span>$.getScript<span style="color:#1F497D">, which
                  gives me the heebie-jeebies, as
                </span>$.getScript().done()<span style="color:#1F497D">
                  only fires when the script is loaded, NOT when it has
                  executed. I tried the $.ajax alternatives and still
                  had to jump through setTimeout to make it work.</span><o:p></o:p></p>
              <p class="MsoNormal"
                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                  style="color:#1F497D"> </span><o:p></o:p></p>
              <p class="MsoNormal"
                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><img
                  id="Picture_x0020_1"
                  src="cid:part8.00010806.00050008@tor.nl" border="0"
                  height="683" width="820"><o:p></o:p></p>
              <p class="MsoNormal"
                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                  style="color:#1F497D"> </span><o:p></o:p></p>
              <div>
                <div style="border:none;border-top:solid #B5C4DF
                  1.0pt;padding:3.0pt 0cm 0cm 0cm">
                  <p class="MsoNormal"
                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif""
                        lang="EN-US">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif""
                      lang="EN-US">
                      <a moz-do-not-send="true"
                        href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a>
                      [<a moz-do-not-send="true"
                        href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">mailto:xerte-dev-bounces@lists.nottingham.ac.uk</a>]
                      <b>On Behalf Of </b>Fay Cross<br>
                      <b>Sent:</b> 08 July 2015 17:00<br>
                      <b>To:</b> For Xerte technical developers<br>
                      <b>Subject:</b> [Xerte-dev] Re: Youtube RSS</span><o:p></o:p></p>
                </div>
              </div>
              <p class="MsoNormal"
                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
              <p class="MsoNormal"
                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">There
                should be something in the media lesson page's init
                function that looks to see if the popcorn.js files have
                already been loaded and only loads them if they haven't
                been. I could maybe look at the scope stuff tmw<o:p></o:p></p>
              <p class="MsoNormal"
                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                  style="color:#1F497D"> </span><o:p></o:p></p>
              <div>
                <div style="border:none;border-top:solid #B5C4DF
                  1.0pt;padding:3.0pt 0cm 0cm 0cm">
                  <p class="MsoNormal"
                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif""
                        lang="EN-US">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif""
                      lang="EN-US">
                      <a moz-do-not-send="true"
                        href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a>
                      [<a moz-do-not-send="true"
                        href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">mailto:xerte-dev-bounces@lists.nottingham.ac.uk</a>]
                      <b>On Behalf Of </b>Smith, John<br>
                      <b>Sent:</b> 08 July 2015 12:08<br>
                      <b>To:</b> For Xerte technical developers<br>
                      <b>Subject:</b> [Xerte-dev] Re: Youtube RSS</span><o:p></o:p></p>
                </div>
              </div>
              <p class="MsoNormal"
                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
              <div>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Howdy,<o:p></o:p></p>
              </div>
              <div>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
              </div>
              <div>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Have
                  you tried adding the script file with the callback as <a
                    moz-do-not-send="true"
href="https://apis.google.com/js/client.js?onload=youtuberss.googleApiClientReady">https://apis.google.com/js/client.js?onload=youtuberss.googleApiClientReady</a><o:p></o:p></p>
              </div>
              <div>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
              </div>
              <div>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">And
                  then defining the googleApiClientReady method as
                  this.googleApiClientReady within the object? You could
                  also load the script using jQuery so that you can
                  check for it already existing rather than load it
                  again on each page model... Fay would probably know
                  how to do this if you aren't sure...<o:p></o:p></p>
              </div>
              <div>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
              </div>
              <div>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">John<o:p></o:p></p>
              </div>
              <div>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
              </div>
              <div>
                <div>
                  <p class="MsoNormal"
                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Sent
                    from Samsung tablet<br>
                    <br>
                    Please send all enquiries to our shared Blended
                    Learning inbox at <a moz-do-not-send="true"
                      href="mailto:hlsblt@gcu.ac.uk">
                      hlsblt@gcu.ac.uk</a> and one of the Learning
                    Technologists will respond.<o:p></o:p></p>
                </div>
              </div>
              <p class="MsoNormal"
                style="mso-margin-top-alt:auto;margin-bottom:12.0pt"><br>
                <br>
                <br>
                -------- Original message --------<br>
                From: Julian Tenney <<a moz-do-not-send="true"
                  href="mailto:Julian.Tenney@nottingham.ac.uk">Julian.Tenney@nottingham.ac.uk</a>>
                <br>
                Date: 06/07/2015 12:04 (GMT+00:00) <br>
                To: "For Xerte technical developers (<a
                  moz-do-not-send="true"
                  href="mailto:xerte-dev@lists.nottingham.ac.uk">xerte-dev@lists.nottingham.ac.uk</a>)"
                <<a moz-do-not-send="true"
                  href="mailto:xerte-dev@lists.nottingham.ac.uk">xerte-dev@lists.nottingham.ac.uk</a>>
                <br>
                Subject: [Xerte-dev] Youtube RSS <o:p></o:p></p>
              <div>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Hi,<o:p></o:p></p>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">I’ve
                  got the youtube rss working with a hardcode API key.
                  Before we release the code we can split that out and
                  provide a file for people to store their own keys in
                  and read that. I’d appreciate someone peer-reviewing
                  my code: couple of questions:<o:p></o:p></p>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">We
                  need to load the google api which I’ve done by simply
                  adding…<o:p></o:p></p>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                    style="font-family:"Courier New , serif ,
                    serif","serif""><script src="<a
                      moz-do-not-send="true"
                      href="https://apis.google.com/js/client.js?onload=googleApiClientReady">https://apis.google.com/js/client.js?onload=googleApiClientReady</a>"></script></span><o:p></o:p></p>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">…to
                  the top of the file.<o:p></o:p></p>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">The
                  <span style="font-family:"Courier New , serif ,
                    serif","serif"">onGoogleApiClientReady</span>
                  function is defined in global scope so I wondered how
                  to make it part of the
                  <span style="font-family:"Courier New , serif ,
                    serif","serif"">youtuberss</span>
                  object, but if I simply define it within the object,
                  it doesn’t get called (obviously).<o:p></o:p></p>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">I
                  think Fay or John will have an idea how to make all
                  this nice and graceful! I’ve committed the file
                  (you’ll need an API key!)<o:p></o:p></p>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Let
                  me know comments,<o:p></o:p></p>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">J<o:p></o:p></p>
                <pre> <o:p></o:p></pre>
                <pre> <o:p></o:p></pre>
                <pre> <o:p></o:p></pre>
                <pre>This message and any attachment are intended solely for the addressee<o:p></o:p></pre>
                <pre>and may contain confidential information. If you have received this<o:p></o:p></pre>
                <pre>message in error, please send it back to me, and immediately delete it. <o:p></o:p></pre>
                <pre> <o:p></o:p></pre>
                <pre>Please do not use, copy or disclose the information contained in this<o:p></o:p></pre>
                <pre>message or in any attachment.  Any views or opinions expressed by the<o:p></o:p></pre>
                <pre>author of this email do not necessarily reflect the views of the<o:p></o:p></pre>
                <pre>University of Nottingham.<o:p></o:p></pre>
                <pre> <o:p></o:p></pre>
                <pre>This message has been checked for viruses but the contents of an<o:p></o:p></pre>
                <pre>attachment may still contain software viruses which could damage your<o:p></o:p></pre>
                <pre>computer system, you are advised to perform your own checks. Email<o:p></o:p></pre>
                <pre>communications with the University of Nottingham may be monitored as<o:p></o:p></pre>
                <pre>permitted by UK legislation.<o:p></o:p></pre>
              </div>
              <p class="MsoNormal"
                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><br>
                <span
style="font-size:10.0pt;font-family:"Arial","sans-serif";color:gray">Glasgow
                  Caledonian University is a registered Scottish
                  charity, number SC021474</span><o:p></o:p></p>
            </div>
            <pre> <o:p></o:p></pre>
            <pre> <o:p></o:p></pre>
            <pre>This message and any attachment are intended solely for the addressee<o:p></o:p></pre>
            <pre>and may contain confidential information. If you have received this<o:p></o:p></pre>
            <pre>message in error, please send it back to me, and immediately delete it. <o:p></o:p></pre>
            <pre> <o:p></o:p></pre>
            <pre>Please do not use, copy or disclose the information contained in this<o:p></o:p></pre>
            <pre>message or in any attachment.  Any views or opinions expressed by the<o:p></o:p></pre>
            <pre>author of this email do not necessarily reflect the views of the<o:p></o:p></pre>
            <pre>University of Nottingham.<o:p></o:p></pre>
            <pre> <o:p></o:p></pre>
            <pre>This message has been checked for viruses but the contents of an<o:p></o:p></pre>
            <pre>attachment may still contain software viruses which could damage your<o:p></o:p></pre>
            <pre>computer system, you are advised to perform your own checks. Email<o:p></o:p></pre>
            <pre>communications with the University of Nottingham may be monitored as<o:p></o:p></pre>
            <pre>permitted by UK legislation.<o:p></o:p></pre>
            <p class="MsoNormal"><br>
              <span
style="font-size:10.0pt;font-family:"Arial","sans-serif";color:gray">Glasgow
                Caledonian University is a registered Scottish charity,
                number SC021474</span><o:p></o:p></p>
            <pre> <o:p></o:p></pre>
            <pre> <o:p></o:p></pre>
            <pre>This message and any attachment are intended solely for the addressee<o:p></o:p></pre>
            <pre>and may contain confidential information. If you have received this<o:p></o:p></pre>
            <pre>message in error, please send it back to me, and immediately delete it. <o:p></o:p></pre>
            <pre> <o:p></o:p></pre>
            <pre>Please do not use, copy or disclose the information contained in this<o:p></o:p></pre>
            <pre>message or in any attachment.  Any views or opinions expressed by the<o:p></o:p></pre>
            <pre>author of this email do not necessarily reflect the views of the<o:p></o:p></pre>
            <pre>University of Nottingham.<o:p></o:p></pre>
            <pre> <o:p></o:p></pre>
            <pre>This message has been checked for viruses but the contents of an<o:p></o:p></pre>
            <pre>attachment may still contain software viruses which could damage your<o:p></o:p></pre>
            <pre>computer system, you are advised to perform your own checks. Email<o:p></o:p></pre>
            <pre>communications with the University of Nottingham may be monitored as<o:p></o:p></pre>
            <pre>permitted by UK legislation.<o:p></o:p></pre>
            <p class="MsoNormal"><br>
              <br>
              <br>
              <br>
              <o:p></o:p></p>
            <pre>_______________________________________________<o:p></o:p></pre>
            <pre>Xerte-dev mailing list<o:p></o:p></pre>
            <pre><a moz-do-not-send="true" href="mailto:Xerte-dev@lists.nottingham.ac.uk">Xerte-dev@lists.nottingham.ac.uk</a><o:p></o:p></pre>
            <pre><a moz-do-not-send="true" href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a><o:p></o:p></pre>
          </blockquote>
          <p class="MsoNormal"><br>
            <br>
            <br>
            <o:p></o:p></p>
          <pre>-- <o:p></o:p></pre>
          <pre>--<o:p></o:p></pre>
          <pre> <o:p></o:p></pre>
          <pre>Tom Reijnders<o:p></o:p></pre>
          <pre>TOR Informatica<o:p></o:p></pre>
          <pre>Chopinlaan 27<o:p></o:p></pre>
          <pre>5242HM Rosmalen<o:p></o:p></pre>
          <pre>Tel: 073 5226191<o:p></o:p></pre>
          <pre>Fax: 073 5226196<o:p></o:p></pre>
          <pre> <o:p></o:p></pre>
          <pre><o:p> </o:p></pre>
          <pre><o:p> </o:p></pre>
          <pre>This message and any attachment are intended solely for the addressee<o:p></o:p></pre>
          <pre>and may contain confidential information. If you have received this<o:p></o:p></pre>
          <pre>message in error, please send it back to me, and immediately delete it. <o:p></o:p></pre>
          <pre><o:p> </o:p></pre>
          <pre>Please do not use, copy or disclose the information contained in this<o:p></o:p></pre>
          <pre>message or in any attachment.  Any views or opinions expressed by the<o:p></o:p></pre>
          <pre>author of this email do not necessarily reflect the views of the<o:p></o:p></pre>
          <pre>University of Nottingham.<o:p></o:p></pre>
          <pre><o:p> </o:p></pre>
          <pre>This message has been checked for viruses but the contents of an<o:p></o:p></pre>
          <pre>attachment may still contain software viruses which could damage your<o:p></o:p></pre>
          <pre>computer system, you are advised to perform your own checks. Email<o:p></o:p></pre>
          <pre>communications with the University of Nottingham may be monitored as<o:p></o:p></pre>
          <pre>permitted by UK legislation.<o:p></o:p></pre>
          <p class="MsoNormal"><br>
            <br>
            <br>
            <o:p></o:p></p>
          <pre>_______________________________________________<o:p></o:p></pre>
          <pre>Xerte-dev mailing list<o:p></o:p></pre>
          <pre><a moz-do-not-send="true" href="mailto:Xerte-dev@lists.nottingham.ac.uk">Xerte-dev@lists.nottingham.ac.uk</a><o:p></o:p></pre>
          <pre><a moz-do-not-send="true" href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a><o:p></o:p></pre>
        </blockquote>
        <p class="MsoNormal"><br>
          <br>
          <o:p></o:p></p>
        <pre>-- <o:p></o:p></pre>
        <pre>--<o:p></o:p></pre>
        <pre><o:p> </o:p></pre>
        <pre>Tom Reijnders<o:p></o:p></pre>
        <pre>TOR Informatica<o:p></o:p></pre>
        <pre>Chopinlaan 27<o:p></o:p></pre>
        <pre>5242HM Rosmalen<o:p></o:p></pre>
        <pre>Tel: 073 5226191<o:p></o:p></pre>
        <pre>Fax: 073 5226196<o:p></o:p></pre>
        <pre><o:p> </o:p></pre>
      </div>
      <pre>

This message and any attachment are intended solely for the addressee
and may contain confidential information. If you have received this
message in error, please send it back to me, and immediately delete it. 

Please do not use, copy or disclose the information contained in this
message or in any attachment.  Any views or opinions expressed by the
author of this email do not necessarily reflect the views of the
University of Nottingham.

This message has been checked for viruses but the contents of an
attachment may still contain software viruses which could damage your
computer system, you are advised to perform your own checks. Email
communications with the University of Nottingham may be monitored as
permitted by UK legislation.
</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Xerte-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Xerte-dev@lists.nottingham.ac.uk">Xerte-dev@lists.nottingham.ac.uk</a>
<a class="moz-txt-link-freetext" href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
--

Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196

</pre>
  </body>
</html>