[Xerte] Re: Youtube Probs

Smith, John J.J.Smith at gcu.ac.uk
Wed Jan 15 13:24:38 GMT 2014


You can try replacing the youtube page model with this one https://github.com/thexerteproject/xerteonlinetoolkits/commit/f4ed6bca116b90bacfbc4118258f98c85a13eb5a (click on [Raw] button to get access to the file) and save it to modules/xerte/parent_templates/Nottingham/models_html5/youtube.html

I patched this a few months back to allow schemeless urls like Youtube uses to avoid the cross domain security issue...

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University


-----Original Message-----
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Gissing, Robin P P
Sent: Wednesday, January 15, 2014 1:02 PM
To: 'Xerte discussion list'
Subject: [Xerte] Re: Youtube Probs

I think you're right John,  and youtube appear to have removed the 'https mode' options for the embed code (and manually inserting it in does nothing too).

Its not v2.1 I'm on, but that will be remedied next week hopefully.

Cheers,
Robin.


-----Original Message-----
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 15 January 2014 12:49
To: xerte at lists.nottingham.ac.uk
Subject: [Xerte] Re: Youtube Probs

I think the code may be getting processed correctly but you are actually experiencing the cross domain http/https issue.

Is this the latest v2.1 code you are using?

Regards

John Smith
Learning Technologist
School of Health and Life Sciences

Sent from Samsung Galaxy SII



"Gissing, Robin P P" <R.P.Gissing at shu.ac.uk> wrote:


Interestingly, I just tried it in IE and its worked - using all the embed variants.

(I was in Chrome before)



From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 15 January 2014 12:40
To: Xerte discussion list
Subject: [Xerte] Re: Youtube Probs

Meant to say using the code you provided, unchanged.

From: xerte-bounces at lists.nottingham.ac.uk<mailto:xerte-bounces at lists.nottingham.ac.uk> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 15 January 2014 12:39
To: Xerte discussion list
Subject: [Xerte] Re: Youtube Probs

It works for me here.

[cid:image001.png at 01CF11EF.75F6D3C0]

From: xerte-bounces at lists.nottingham.ac.uk<mailto:xerte-bounces at lists.nottingham.ac.uk> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Gissing, Robin P P
Sent: 15 January 2014 12:34
To: 'Xerte discussion list'
Subject: [Xerte] Re: Youtube Probs

Hiya,

Thanks for the speedy reply, have tried that and that gives me the same error the 'old' embed code does, a static white box.

Ta,
Robin.


From: xerte-bounces at lists.nottingham.ac.uk<mailto:xerte-bounces at lists.nottingham.ac.uk> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 15 January 2014 10:58
To: Xerte discussion list
Subject: [Xerte] Re: Youtube Probs

Use the iframe code, and I think you need http before the // in the url

From: xerte-bounces at lists.nottingham.ac.uk<mailto:xerte-bounces at lists.nottingham.ac.uk> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Gissing, Robin P P
Sent: 15 January 2014 10:55
To: 'xerte at lists.nottingham.ac.uk'
Subject: [Xerte] Youtube Probs

Hi all,

This may have been solved in an update, but I couldn't see anything on the lists - I'm on a relatively updated xerte (html5 mode) but not the latest update.

We're struggling to add youtube clips with both the new iframe and the old embed code that youtube generates;

<object width="560" height="315"><param name="movie" value="//www.youtube.com/v/_vQvOFOeoOQ?hl=en_US&version=3&rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="//www.youtube.com/v/_vQvOFOeoOQ?hl=en_US&version=3&rel=0" type="application/x-shockwave-flash" width="560" height="315" allowscriptaccess="always" allowfullscreen="true"></embed></object>

And

<iframe width="560" height="315" src="//www.youtube.com/embed/_vQvOFOeoOQ?rel=0" frameborder="0" allowfullscreen></iframe>

The xerte object just says "error loading" in the top corner.

Any ideas?

Cheers,
Robin.


Robin Gissing FHEA PgCert
HWB Technology Enhanced Learning Advisor Health & Wellbeing Sheffield Hallam University

[cid:image002.gif at 01CF11EF.75F6D3C0]



Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html

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 mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte
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.





Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education’s Widening Participation Initiative of the Year 2009 and Herald Society’s Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education’s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html


More information about the Xerte mailing list