[Xerte] Re: Using <embed> tag in Online Toolkit

Pat Lockley patrick.lockley at googlemail.com
Wed Aug 17 18:40:22 BST 2011


In zip modified preview_xerte_top - including fixed link for testing
(and functions and slight HTML mods)

and modfied rloobject.js (wmode = opaque) to allow for zindex pops up
above the flash.

DO NOT ADD TO YOUR SITE THESE ARE DEVELOPMENT VERSIONS

On Wed, Aug 17, 2011 at 11:31 AM, Pat Lockley
<patrick.lockley at googlemail.com> wrote:
> i was more thinking text focus on pop up?
>
> On Wed, Aug 17, 2011 at 11:21 AM, Julian Tenney
> <Julian.Tenney at nottingham.ac.uk> wrote:
>> We can scale the div based on the stage size when the function is called, but resizing it if the stage is resized afterwards would be pain. Let's get a basic version working, then we can figure out the other bits and pieces.
>>
>> -----Original Message-----
>> From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
>> Sent: 17 August 2011 11:03
>> To: Xerte discussion list
>> Subject: [Xerte] Re: Using <embed> tag in Online Toolkit
>>
>> Yeah, I would make it dynamically this way you could create multiple
>> pop ups. And it would solve the "why can't it take this format issue".
>> Then I'd recode media + quota to allow for a JS pop up code block as
>> well?
>>
>> Might mess with the accessibility though.
>>
>> On Wed, Aug 17, 2011 at 10:44 AM, Julian Tenney
>> <Julian.Tenney at nottingham.ac.uk> wrote:
>>> What happens when Joe User changes the size of the stage?
>>>
>>> Can you easily code me a makeDiv() function?
>>>
>>> makeDiv(x,y,w,h,src,draggable);
>>>
>>> x: x coord of the div;
>>> y: y coord of the div
>>> w: width of the div
>>> h: height of the div
>>> src: either the html for the div, or a url for the iframe: the function can decide which it is [if (src.substr(0,1) == '<' or similar]
>>> draggable: whether to all the div to be draggable or not - default false
>>>
>>>
>>> -----Original Message-----
>>> From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
>>> Sent: 17 August 2011 10:26
>>> To: Xerte discussion list
>>> Subject: [Xerte] Re: Using <embed> tag in Online Toolkit
>>>
>>> yeah, perhaps a "draggable" and or / an 'src' option which could do an iframe?
>>>
>>> On Wed, Aug 17, 2011 at 10:13 AM, Julian Tenney
>>> <Julian.Tenney at nottingham.ac.uk> wrote:
>>>> I'd wondered about a hack I'd seen somewhere else, where you can position the div with the funny content in it over the flash movie at a place / size of your choosing, making it appear part of the flash content itself: then you could put up a whitepanel type page, and pop, say, a windows media player control over the top of it.
>>>>
>>>> How would we do it? With a new page type?
>>>>
>>>> Preview_xerte_top is the place for any js functions that xerte calls: adding
>>>>
>>>> makeDiv(x,y,w,h,htmlSource) //does that sound the right approach?
>>>>
>>>> Would be easy enough...
>>>>
>>>> -----Original Message-----
>>>> From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
>>>> Sent: 17 August 2011 09:58
>>>> To: Xerte discussion list
>>>> Subject: [Xerte] Re: Using <embed> tag in Online Toolkit
>>>>
>>>> J, hows about this.
>>>>
>>>> A bit of JS you can trigger inside the play screen which pops up a div
>>>> within the window itself?
>>>>
>>>> I'd guess it wouldn't be a lot to code (i'd offer) and it'd mean the
>>>> people with non-content would have an answer
>>>>
>>>> On Wed, Aug 17, 2011 at 9:47 AM, Julian Tenney
>>>> <Julian.Tenney at nottingham.ac.uk> wrote:
>>>>> This will update all the templates stuff: I'm just trying to unpick from the
>>>>> svn logs the various changes / dependencies etc. Then you can update your
>>>>> templates to those in 1.6, and leave the rest of the application as it is.
>>>>> Bear with me...
>>>>>
>>>>>
>>>>>
>>>>> From: xerte-bounces at lists.nottingham.ac.uk
>>>>> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Matt Lingard
>>>>> Sent: 17 August 2011 09:29
>>>>>
>>>>> To: Xerte discussion list
>>>>> Subject: [Xerte] Re: Using <embed> tag in Online Toolkit
>>>>>
>>>>>
>>>>>
>>>>> Wow, thanks Julian.  We've not upgraded to 1.6 yet, presumably we'd need to
>>>>> as well.
>>>>> Regards
>>>>> Matt
>>>>>
>>>>> On Wed, Aug 17, 2011 at 9:28 AM, Julian Tenney
>>>>> <Julian.Tenney at nottingham.ac.uk> wrote:
>>>>>
>>>>> You'll need to update some files: bear with me and I'll make a zip for you,
>>>>>
>>>>>
>>>>>
>>>>> From: xerte-bounces at lists.nottingham.ac.uk
>>>>> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Matt Lingard
>>>>> Sent: 17 August 2011 09:27
>>>>>
>>>>> To: Xerte discussion list
>>>>> Subject: [Xerte] Re: Using <embed> tag in Online Toolkit
>>>>>
>>>>>
>>>>>
>>>>> Thanks Julian.
>>>>>
>>>>> We are using the Online Toolkit and my understanding was that newWindow is
>>>>> not an option in this version?
>>>>>
>>>>> I'm afraid I don't know what you mean by svn - I'm new to Xerte and have
>>>>> limited technical knowledge (not just of xerte!)
>>>>>
>>>>> Regards,
>>>>> Matt
>>>>>
>>>>> On Wed, Aug 17, 2011 at 9:17 AM, Julian Tenney
>>>>> <Julian.Tenney at nottingham.ac.uk> wrote:
>>>>>
>>>>> In the newWindow page there is an optional 'html' property. If you add that
>>>>> property, you can write HTML for the webpage that will open, so put your
>>>>> embed code in there, and it will be passed to the new window to become the
>>>>> newWindow's source.
>>>>>
>>>>> Then you can embed whatever you want, and there's no need to move the media
>>>>> from its home.
>>>>>
>>>>> You might need an updated newWindow model from the svn.
>>>>>
>>>>> -----Original Message-----
>>>>> From: xerte-bounces at lists.nottingham.ac.uk
>>>>> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
>>>>> Sent: 16 August 2011 17:59
>>>>> To: Xerte discussion list
>>>>> Subject: [Xerte] Re: Using <embed> tag in Online Toolkit
>>>>>
>>>>> <a href="url" target="_blank">link text</a> is the only option short
>>>>> of media converting
>>>>>
>>>>> depends on what else you'd want to do, the xerte code lives inside a
>>>>> div, so you could write a popup div block of code. Inside that DIV is
>>>>> an iframe. Use javascript to set that iframe SRC and show the div.
>>>>>
>>>>> That might be a feature worth coding.....
>>>>>
>>>>> On Tue, Aug 16, 2011 at 5:22 PM, Matt Lingard <mattlingard at gmail.com> wrote:
>>>>>> Thanks Pat. That's good to know.
>>>>>>
>>>>>> In this case, we were hoping to keep the media on it's existing server
>>>>>> rather than having to copy it to our xerte server. Not possible I'm
>>>>>> guessing.
>>>>>> Matt
>>>>>>
>>>>>> On Tue, Aug 16, 2011 at 5:14 PM, Pat Lockley
>>>>>> <patrick.lockley at googlemail.com> wrote:
>>>>>>>
>>>>>>> You can use the media and quota tab in properties to upload any file,
>>>>>>> it'll then give you the HTML <a> tag for that file. Still a
>>>>>>> target="_blank" in there and it should open in a new window anyways.
>>>>>>>
>>>>>>> On Tue, Aug 16, 2011 at 4:57 PM, Matt Lingard <mattlingard at gmail.com>
>>>>>>> wrote:
>>>>>>> > Hi everyone,
>>>>>>> >
>>>>>>> > From browsing back through various messages I'm pretty certain the
>>>>>>> > answer is
>>>>>>> > "no", but just wanted to be 100% certain that I'm understanding Xerte
>>>>>>> > (as a
>>>>>>> > newbie).
>>>>>>> >
>>>>>>> > I want to be able to embed some video in a template created with the
>>>>>>> > online
>>>>>>> > toolkit.  The code I've been supplied with is an <embed> and the files
>>>>>>> > are
>>>>>>> > mp4. Am I correct that this is a non starter? And is this because Xerte
>>>>>>> > is
>>>>>>> > Flash rather than HTML?
>>>>>>> >
>>>>>>> > And finally, I've seen a few 'new window' solutions... is this a
>>>>>>> > feature
>>>>>>> > of
>>>>>>> > the desktop version rather than the online toolkit?
>>>>>>> >
>>>>>>> > Regards,
>>>>>>> > Matt
>>>>>>> >
>>>>>>> > --
>>>>>>> > Matt Lingard,
>>>>>>> > Learning Technologist,
>>>>>>> > LSE
>>>>>>> >
>>>>>>> >
>>>>>>> >
>>>>>>> > 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.
>>>>>>> >
>>>>>>> >
>>>>>>> >
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Xerte mailing list
>>>>>>> Xerte at lists.nottingham.ac.uk
>>>>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Matt Lingard,
>>>>>> Educational Technology Consultant
>>>>>> +44 (0)7801 276 559
>>>>>> http://uk.linkedin.com/in/mattlingard
>>>>>>
>>>>>>
>>>>>>
>>>>>> 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.
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Xerte mailing list
>>>>> Xerte at lists.nottingham.ac.uk
>>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>>>>>
>>>>> _______________________________________________
>>>>> Xerte mailing list
>>>>> Xerte at lists.nottingham.ac.uk
>>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>>>>>
>>>>>
>>>>> --
>>>>> Matt Lingard,
>>>>> Educational Technology Consultant
>>>>> +44 (0)7801 276 559
>>>>> http://uk.linkedin.com/in/mattlingard
>>>>>
>>>>>
>>>>>
>>>>> 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.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Matt Lingard,
>>>>> Educational Technology Consultant
>>>>> +44 (0)7801 276 559
>>>>> http://uk.linkedin.com/in/mattlingard
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> 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.
>>>>>
>>>>>
>>>>>
>>>>
>>>> _______________________________________________
>>>> Xerte mailing list
>>>> Xerte at lists.nottingham.ac.uk
>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>>>>
>>>> _______________________________________________
>>>> Xerte mailing list
>>>> Xerte at lists.nottingham.ac.uk
>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>>>>
>>>
>>> _______________________________________________
>>> Xerte mailing list
>>> Xerte at lists.nottingham.ac.uk
>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>>>
>>> _______________________________________________
>>> Xerte mailing list
>>> Xerte at lists.nottingham.ac.uk
>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>>>
>>
>> _______________________________________________
>> Xerte mailing list
>> Xerte at lists.nottingham.ac.uk
>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>>
>> _______________________________________________
>> Xerte mailing list
>> Xerte at lists.nottingham.ac.uk
>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: preview_xerte_top.zip
Type: application/zip
Size: 3054 bytes
Desc: not available
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110817/14a1a09f/attachment.zip>


More information about the Xerte mailing list