[Xerte-dev] Re: YouTube clips when viewing offline not working?
Ron Mitchell
ronm at mitchellmedia.co.uk
Thu Sep 17 15:18:04 BST 2015
I seem to recall that the use of just //www rather than http://www or
https://www was to deal with the security prompts when the xerte
installation and LO link is viewed via https and includes non https links or
embed content?
From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 17 September 2015 09:23
To: For Xerte technical developers
Subject: [Xerte-dev] Re: YouTube clips when viewing offline not working?
The problem is the src parameter in the iframe code created:
<iframe width="560" height="315"
src="//www.youtube.com/embed/2nkAJogQioc?wmode=opaque"
frameborder="0"></iframe>
I got this from the html returned by buildIFrame();
Note the two slashes. If you replace those with http:// it then works, so we
need to change this line in buildIFrame():
html += " src=\"//www.youtube.com/embed/" + iframe.code;
to
html += " src=\"http://www.youtube.com/embed/" + iframe.code;
Yes?
-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 16 September 2015 16:34
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: YouTube clips when viewing offline not working?
Have been checking and testing further...
same embed code in a plain text page does work offline
youtube.html doesn't have any api code but didn't think it was needed for
the single clip model?
That said I'm pretty sure the single clip YouTube page worked previously
offline?
Tom - do I recall you were looking at a way to do this for export to work or
was that just the YouTube feed page?
Ron
-----Original Message-----
From: <mailto:xerte-dev-bounces at lists.nottingham.ac.uk>
xerte-dev-bounces at lists.nottingham.ac.uk
[ <mailto:xerte-dev-bounces at lists.nottingham.ac.uk>
mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 16 September 2015 15:51
To: For Xerte technical developers
Subject: [Xerte-dev] Re: YouTube clips when viewing offline not working?
Does a simple html page with a youtube embed work (if we take xerte out of
the picture)?
I expect it's to do with not having an API key - you should be able to put
one in the exported model file, I think there is a line in there for a
hardcoded one, sorry I'm not at my desk atm,
________________________________________
From: <mailto:xerte-dev-bounces at lists.nottingham.ac.uk>
xerte-dev-bounces at lists.nottingham.ac.uk
[xerte-dev-bounces at lists.nottingham.ac.uk] on behalf of Ron Mitchell
[ronm at mitchellmedia.co.uk]
Sent: 16 September 2015 15:36
To: 'For Xerte technical developers'
Subject: [Xerte-dev] YouTube clips when viewing offline not working?
Hi all
I've been asked recently why an LO exported for offline access works apart
from the YouTube clips added to YouTube pages. I've just been testing and
verfified that this doesn't work but I'm sure this used to work ok and
didn't think that the single youtube page was affected by the YouTube feed
page api issue. Is this due to yet another YouTube change? Or something
else?
Cheers
Ron
_______________________________________________
Xerte-dev mailing list
<mailto:Xerte-dev at lists.nottingham.ac.uk> Xerte-dev at lists.nottingham.ac.uk
<http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev>
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
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.
_______________________________________________
Xerte-dev mailing list
<mailto:Xerte-dev at lists.nottingham.ac.uk> Xerte-dev at lists.nottingham.ac.uk
<http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev>
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20150917/2863b34c/attachment.html>
More information about the Xerte-dev
mailing list