Thanks Handrawn,
Hopefully the zip file will help shed some light on the problem.
On my setup, the sound file on page 3 just plays and plays and plays...
Zap
Thanks Handrawn,
Hopefully the zip file will help shed some light on the problem.
On my setup, the sound file on page 3 just plays and plays and plays...
Zap
Cheers Zap.
The problem come from the use of autoplay in the Placeholders.
Your Presentation is effectively one long file so when you get to a page with autoplay it will and when you hit the next, it will too.<audio class="xar_meplayer" src="index_htm_files/Ships horn.mp3" controls autoplay width = "100%" height="100%"/>
<audio class="xar_meplayer" src="index_htm_files/Penny Whistlers.mp3" controls autoplay width = "100%" height="100%"/>
If the sound files were short then they would stop in line with the speed of your presentation. If, however, you whizz back or forward, all will kick in again.
So remove autoplay.
Your are then stuck with playing them on demand.
The simplest is to have a "play" button with the following code:
Your Placeholder code needs to know it is the one so add an id:javascript: document.getElementById('player1').play();
The "play" button can be a transparent overlay over the ship. I used an ellipse.<audio class="xar_meplayer" id="player1" src="index_htm_files/Ships horn.mp3" controls width = "100%" height="100%"/>
If you need a "pause", you need a button with code:
I just added a transparent ellipse over the smoke.javascript: document.getElementById('player1').pause();
Change id=player1" to the next number (e.g., player2) for the second file and so on.
Acorn
Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat
Hi Acorn,
Sorry to harass you like this...
I understand your point about the autoplay function and have removed it from the pages. Unfortunately I am not making progress on creating the invisible play buttons.
I create a rectangle on the same page layer and then try to convert it to a placeholder by inserting your 'javascript: document.getElementById('player1').play();' text in the html body window. It doesn't seem to like it ! the text just shows up on the page as text. Could you please explain my probably stupid mistake or post me the zip of your working page ?
incidentally and in no way relevant, but maybe of interest?
in our garden we have several oak trees, the largest of which has a 30 meter span and produces the largest acorns I and anybody who sees it, have ever seen !
Cheers
Zap
Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat
Many thanks Acorn,
All is working fine on the demo presentation, will attack the 50 page one this afternoon.
Zap
Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat
Bookmarks