[Xerte] Problems playing a Youtube video

Peter Snowball Peter.Snowball at development.tas.gov.au
Fri Aug 20 01:22:14 BST 2010


Thanks

Hacking the SRC in the Utube embedded code (delete everything after the question mark ) works both in templates and toolkits.

It is easier than hacking the code but  will toolkits be updated ?


Peter Snowball
Dept Of Economic Development
Tasmania

From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Patrick Lockley
Sent: Thursday, 19 August 2010 6:19 PM
To: Xerte discussion list
Subject: RE: [Xerte] Problems playing a Youtube video

Try this

http://www.youtube.com/v/eI388V_xhws

so delete everything after the question mark

From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Peter Snowball
Sent: 19 August 2010 05:08
To: 'Xerte discussion list'
Subject: RE: [Xerte] Problems playing a Youtube video

Hi All
Following applies to Xerte 2.12 and pagewizards 07/2010 and may be just related to the particular SRC i am accessing

In page wizards in getPageID ( script icon) I Replaced
//vidID = embedObj.object[0].embed[0].src.split('/')[4].split('&')[0];
With
vidID = embedObj.object[0].embed[0].src.split('/')[4].split('?')[0];

After this change all works as expected

Embedded code :
""""<object width="960" height="745"><param name="movie" value="http://www.youtube.com/v/eI388V_xhws?fs=1&amp;hl=en_US&amp;rel=0&amp;hd=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/eI388V_xhws?fs=1&amp;hl=en_US&amp;rel=0&amp;hd=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="960" height="745"></embed></object> """

This seems to be because YouTube have introduced options or I have not selected the embedded code properly - similar but not related to the link in my previous post.
Also not confident that this is just  a fix or workaround ?

Other than modify the scr code itself I do not know how to modify the online toolkits

Peter Snowball
Dept Of Economic Development
Tasmania



From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Peter Snowball
Sent: Thursday, 19 August 2010 12:16 AM
To: xerte at lists.nottingham.ac.uk
Subject: Re: [Xerte] Problems playing a Youtube video

Hi All
I changed my security settings and wikipedia, Youtube feeds, flicker etc all work except an embeded  YouTube.
Tried this in both page wizards and maxos toolkits - to no avial - strage that the YouTube feeds pay perfectly but not an embedded Youtube video.

Is it possible the video id parser in Pagewizards and toolkits need to be updated see notice below from Youtube.
****************************
Monday, March 8, 2010
Upcoming Change to YouTube Video Page URLs

There's an upcoming change to YouTube video page URLs that we wanted developers to know about. While it's not something that will directly affect users of the YouTube APIs, chances are there are some developers in the audience who have code that parses existing YouTube video page URLs, possibly to extract a video's id.

http://apiblog.youtube.com/2010/03/upcoming-change-to-youtube-video-page.html

************************************************************************


Peter Snowball

Dept Of Economic Development

Tasmania

On 5/08/2010 6:24 PM, Jorge Freire wrote:
Hi Ron,


This worked and it now plays the videos perfectly. Thank you, you were really helpful.
Peter Snowball, try this, it might solve your problem.
And thanks to everyone in the group for your help.

Jorge Freire
WKC

________________________________
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 Ron Mitchell
Sent: 04 August 2010 18:09
To: 'Xerte discussion list'
Subject: RE: [Xerte] Problems playing a Youtube video

I suspect this is a flash player security issue...


When viewing an LO via HDD or USB Flash Player security settings may prevent some pages from working e.g. where external data is being retrieved like YouTube page. Right click in the centre of the LO so that you see the flash player menu and select Global Settings....



A new browser window should launch where you can select the Global Security Settings panel see http://grab.by/grabs/8e20f782907a1a6a1ca306c6ee177f68.png



Select Edit locations > Add location and add the location of your LO e.g. C:\mydocuments\xerte\ or just C:\ In my case my ext hdd is J:\ http://grab.by/grabs/27cfe11937d5db2479a6278dd47628d5.png



Let us know if that fixes your problem?



If you upload the same LO to a webserver and view from there it should work fine. Although there are some pages that are an exception to this.



HTH

Ron


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 Jorge Freire
Sent: 04 August 2010 17:11
To: Xerte discussion list
Subject: RE: [Xerte] Problems playing a Youtube video

Thank you.

________________________________
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 Patrick Lockley
Sent: 04 August 2010 17:09
To: Xerte discussion list
Subject: RE: [Xerte] Problems playing a Youtube video

Will try tomorrow and let you know

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 Jorge Freire
Sent: 04 August 2010 17:03
To: Xerte discussion list
Subject: RE: [Xerte] Problems playing a Youtube video

Thanks. The link where I got the code to embed it is below. I did try different videos, though. Please let me know if it works.

http://www.youtube.com/watch?v=lo3Qs-rpieY

________________________________
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 Patrick Lockley
Sent: 04 August 2010 16:44
To: Xerte discussion list
Subject: RE: [Xerte] Problems playing a Youtube video

For what video though, I can try here, see what happens

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 Jorge Freire
Sent: 04 August 2010 16:43
To: Xerte discussion list
Subject: RE: [Xerte] Problems playing a Youtube video

I am trying to embed the code. It plays fine in the editing menu, it doesn't work once I export it and open the presentation.

________________________________
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 Patrick Lockley
Sent: 04 August 2010 16:40
To: Xerte discussion list
Subject: RE: [Xerte] Problems playing a Youtube video

What is the youtube url you are trying to hit?

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 Jorge Freire
Sent: 04 August 2010 16:40
To: Xerte discussion list
Subject: RE: [Xerte] Problems playing a Youtube video

Hi,

I tried reopening the presentation and I made sure I published it, before I exported it.
Thank you for the help, though.

________________________________
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 Ron Mitchell
Sent: 04 August 2010 16:27
To: 'Xerte discussion list'
Subject: RE: [Xerte] Problems playing a Youtube video

Also did you publish before exporting?

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: 04 August 2010 16:12
To: Xerte discussion list
Subject: RE: [Xerte] Problems playing a Youtube video

I don't know - it works fine here. Sometimes youtube doesn't respond - have you tried it again?

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 Jorge Freire
Sent: 04 August 2010 15:34
To: xerte at lists.nottingham.ac.uk<mailto:xerte at lists.nottingham.ac.uk>
Subject: [Xerte] Problems playing a Youtube video

Hi,

We've recently starting using Xerte Online Toolkit and I'm working on a presentation. The only glitch is that, when I export the presentation as a zip file, after unzipping it, the Youtube videos don't play. The player loads, but I get a message saying: "Player loading". And then it doesn't...
Any ideas? I searched the archives, but did not find something useful.
Thank you for the help.
Regards,


Jorge Freire
Learning Centre Advisor
King's Cross Learning Centre






_______________________________________________

Xerte mailing list

Xerte at lists.nottingham.ac.uk<mailto: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.

________________________________
CONFIDENTIALITY NOTICE AND DISCLAIMER
The information in this transmission may be confidential and/or protected by legal professional privilege, and is intended only for the person or persons to whom it is addressed. If you are not such a person, you are warned that any disclosure, copying or dissemination of the information is unauthorised. If you have received the transmission in error, please immediately contact this Office by telephone, fax or email, to inform us of the error and to enable arrangements to be made for the destruction of the transmission, or its return at our cost. No liability is accepted for any unauthorised use of the information contained in this transmission.
If the transmission contains advice, the advice is based on instructions in relation to, and is provided to the addressee in connection with, the matter mentioned above. Responsibility is not accepted for reliance upon it by any other person or for any other purpose.

________________________________
CONFIDENTIALITY NOTICE AND DISCLAIMER
The information in this transmission may be confidential and/or protected by legal professional privilege, and is intended only for the person or persons to whom it is addressed. If you are not such a person, you are warned that any disclosure, copying or dissemination of the information is unauthorised. If you have received the transmission in error, please immediately contact this Office by telephone, fax or email, to inform us of the error and to enable arrangements to be made for the destruction of the transmission, or its return at our cost. No liability is accepted for any unauthorised use of the information contained in this transmission.
If the transmission contains advice, the advice is based on instructions in relation to, and is provided to the addressee in connection with, the matter mentioned above. Responsibility is not accepted for reliance upon it by any other person or for any other purpose.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20100820/f2c68656/attachment.html


More information about the Xerte mailing list