[Xerte] Re: Youtube Dimensions

Julian Tenney Julian.Tenney at nottingham.ac.uk
Thu Jun 9 13:06:02 BST 2011


See: http://code.google.com/apis/youtube/flash_api_reference_as2.html#setPlaybackQuality

It seems that leaving the parameter as it is, default, is the best thing to do: it allows the player to select the best quality video for the size of the player. In Xerte, this is probably always going to be low, because even when toggled full screen, the max height is 514 px. 'Large' would be the best quality it would be worth trying to load, and only then when toggled to full screen.

From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Adam Read
Sent: 09 June 2011 12:35
To: Xerte discussion list
Subject: [Xerte] Re: Youtube Dimensions

Hi Julian

Got it working. A couple of slight issues:


1)      If text is set to align-left the video player floats off the edge of the page.

2)      Attempting to scroll through the video using the time bar seems to jump erratically.

Other than that it's a great addition.

Regarding HD playeback. Here's a video - have a look at the (slight) difference between standard 360 and HD 720 resolutions - http://www.youtube.com/watch?v=JYO_VruAkaw - picky I know but I do like the sharpness when viewing back in 720.

The new YT embed code doesn't seem to play ball with the xerte page when it has additional variables appended to the URL:

E.g:

Broken:

<iframe width="1280" height="750" src="http://www.youtube.com/embed/JYO_VruAkaw?hd=1" frameborder="0" allowfullscreen></iframe>

Works:

<iframe width="1280" height="750" src="http://www.youtube.com/embed/JYO_VruAkaw" frameborder="0" allowfullscreen></iframe>



From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 09 June 2011 10:40
To: Xerte discussion list
Subject: [Xerte] Re: Youtube Dimensions

You mean like this? See attached. There is an optional property 'videoSize' which takes a value like this: 500,200.

Would you test it for me please? You might want to back those two files up in case there's anything screwy in there, but it looks OK. I haven't been through every option / combination...

Unsure about the HD thing. Are you sure there is an HD stream of the video you want to view? If the input is lo-fi, HD will be lo-fi too. Even if there is an HD stream, you might need a very expensive projector to actually see any difference, can you point me to an example where you can see the difference between HD and standard quality?

[cid:image001.png at 01CC26A5.BC9B5EA0]



From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Adam Read
Sent: 09 June 2011 09:45
To: Xerte discussion list (xerte at lists.nottingham.ac.uk)
Subject: [Xerte] Youtube Dimensions

Hi wizards

I'm  wondering how tricky it would be to create a copy of the youtube template (XOT) and modify it so a user could specify the dimensions of the player? I notice the standard flash video page template allows a user to enter their specified size (separated by a comma).

I've had a look at the youtube page template, just to see if I could directly change the size of the video (to 480, 272) but wasn't sure which values to set!

On another note, is there a way to force it to play a HD stream? I've ticked the HD option in the YT embed section, which appends "HD=1" to the URL, but that doesn't seem to effect the quality in Xerte.

Cheers, Adam



University College Plymouth St Mark & St John,  Derriford Road, Plymouth, PL6 8BH

            Phone:  01752 636700     Web:  www.ucpmarjon.ac.uk<http://www.ucpmarjon.ac.uk>

 Principal: Professor Margaret Noble A Church of England College Founded in 1840

University College Plymouth St Mark & St John is a registered charity the trustee

   of which is a company limited by guarantee registered in England No. 986239


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.

University College Plymouth St Mark & St John,  Derriford Road, Plymouth, PL6 8BH

            Phone:  01752 636700     Web:  www.ucpmarjon.ac.uk

 Principal: Professor Margaret Noble A Church of England College Founded in 1840

University College Plymouth St Mark & St John is a registered charity the trustee

   of which is a company limited by guarantee registered in England No. 986239
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110609/ba797868/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 466022 bytes
Desc: image001.png
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110609/ba797868/attachment-0001.png>


More information about the Xerte mailing list