[Xerte] Re: Stopping flash video, Loaded[Type Function]

KnowledgeWare knowledgeware at kccsoft.com
Sun May 26 22:53:50 BST 2013


Hello Julian:

 

Thanks but that didn't work either to shut off the sound from this movie. I
probably am using the older templates, but I couldn't figure out how to use
the newer ones without risking losing a lot of work. Any other way to shut
off a youtube movie using the older templates?

 

RonM2

 

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: Tuesday, May 21, 2013 1:27 AM
To: Xerte discussion list
Subject: [Xerte] Re: Stopping flash video, Loaded[Type Function]

 

Tried 

 

_level0.engine[ytID].removeMovieClip();

delete _level0.engine[ytID];

 

??

 

.but the newer templates don't use the old swf based player: they use a div
in the web page with the embed code directly. Sounds as though you have old
code.

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of KnowledgeWare
Sent: 21 May 2013 01:45
To: 'Xerte discussion list'
Subject: [Xerte] Stopping flash video, Loaded[Type Function]

 

Using Desktop xerte 2.17 - I have an external swf file that contains
next/previous buttons and navigation code. After adding youtube video from
the page templates the youtubes continue to play after I click the next
button, I'm trying to find the proper command to stop or unload them. I've
tried all this in the external swf file to try to silence the movie:

 

NextButton.onRelease = function() 

{

                //RGM 20130519 Stop video on next

                _level0.engine[ytID].pauseVideo();

                Iconid.reset();

                _level0.engine.fw.currentPage.reset();

                _level0.engine.fw.currentPage.sound.stop();

                _level0.engine.fw.IconID.sound.stop();

                ic.stop();

                ic._mc.stop();

 

None of these work.('ic' is the Id of the video icon). What command should I
be using here? Is there a way to 'unload' the movie rather than just
stopping the sound?

 

Also getting a debug window with 'Loaded[Type Function]' showing on each
youtube. I have added the embed code via the template, however I also edited
the page text in the xml file later. What is the 'Loaded' message saying?

 

Thanks

RonM2

 

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.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20130526/220d3622/attachment.html>


More information about the Xerte mailing list