[Xerte] Problems playing a Youtube video

Ron Mitchell ronm at mitchellmedia.co.uk
Tue Aug 24 20:29:03 BST 2010


Hi Julian/all

does this fix the youtube issue for everyone?

I have limited online access at the moment and so may not respond to this
thread promptly but I noticed this discussion and also received an enquiry
from someone using the techdis sandpit so uploaded this new model earlier
and tried the embed code from the clip someone was struggling to get to
work. This latest model didn't seem to fix the issue. The clip someone was
trying to use was this: http://www.youtube.com/watch?v=jxk5tFiGVSE and the
embed code from the clip was this:

 

<object width="480" height="385"><param name="movie"
value="http://www.youtube.com/v/jxk5tFiGVSE?fs=1&amp;hl=en_GB&amp;color1=0x3
a3a3a&amp;color2=0x999999"></param><param name="allowFullScreen"
value="true"></param><param name="allowscriptaccess"
value="always"></param><embed
src="http://www.youtube.com/v/jxk5tFiGVSE?fs=1&amp;hl=en_GB&amp;color1=0x3a3
a3a&amp;color2=0x999999" type="application/x-shockwave-flash"
allowscriptaccess="always" allowfullscreen="true" width="480"
height="385"></embed></object>

 

I noticed that the new model splits the id via either ? or & but the version
with ? didn't seem to be working in this example so a quick fix was to
manually replace the ? at the end of the id with &. Here's the example
http://xerte5.techdis.palepurple.co.uk/play_4990 

 

Does the new model work for others?

 

Cheers

Ron

 

 

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 23 August 2010 13:15
To: Xerte discussion list
Subject: RE: [Xerte] Problems playing a Youtube video

 

Here's an updated model for youtube pages for the Xerte Online Toolkit
template,

 

I'll update all the other builds shortly

 

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

 

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.htm
l

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

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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] On Behalf Of Jorge Freire
Sent: 04 August 2010 15:34
To: 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
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/20100824/8d9a2436/attachment.html


More information about the Xerte mailing list