![]() | | ||||||||
| | #1 |
| Work hard to play hard War Room Member Join Date: Aug 2007 Location: Michigan, USA.
Posts: 1,150
Thanks: 99
Thanked 184 Times in 124 Posts
|
Hi, I have just put an iframe into my sales page that plays an audio clip. Don't ask why I'm using an iframe -- that's what the software needs. It works great. Is there a way to delay the automatic playing of the clip by say 15 seconds or so? That feature is not built into the web-based audio player I'm using. Here's the code... <p><iframe src='http://www.audioplayersite.com/ap.php?url=http://www.mysite.com/audio.mp3&audiotitle=titlehere&autoplay=yes' width='250' height='35' align='middle' scrolling='no' frameborder='0'></iframe></p> |
| Holiday Graphics ----- PLR Articles ----- PLR EBook templates ----- Ebooks ----- Audio loops ----- Plugins ----- FREE stuff! | |
| | |
| | #2 |
| Senior Warrior Member War Room Member Join Date: Sep 2008 Location: Honolulu, Hawaii, USA & Montreal Canada
Posts: 2,218
Blog Entries: 1 Thanks: 759
Thanked 724 Times in 505 Posts
|
Hi Mark Not sure if this will work for you, but I was thinking that you could first load a page into your iFrame that has a time-delayed redirect set for 15 seconds. Your initial page would display for 15 seconds and then redirect to your player page. A way to create this redirect with JavaScript is detailed here: Javascript Tutorial - Redirect Hope this helps! Bill |
| | |
| | #3 |
| Work hard to play hard War Room Member Join Date: Aug 2007 Location: Michigan, USA.
Posts: 1,150
Thanks: 99
Thanked 184 Times in 124 Posts
|
Bill, Thanks. Sounds plausible. But, I'm not sure I know how to do that. I can't edit the web page that plays the audio as it's on another site I don't own. |
| Holiday Graphics ----- PLR Articles ----- PLR EBook templates ----- Ebooks ----- Audio loops ----- Plugins ----- FREE stuff! | |
| | |
| | #4 |
| Senior Warrior Member War Room Member Join Date: Sep 2008 Location: Honolulu, Hawaii, USA & Montreal Canada
Posts: 2,218
Blog Entries: 1 Thanks: 759
Thanked 724 Times in 505 Posts
|
Hi Mark You don't need to be able to edit the audio page, that's the page you would redirect to after displaying your "temporary" page for 15 seconds. Your new "temporary" page and your main page with the iFrame are all you need to edit. The sequence is as follows: 1 - Build your "temporary" page to display some text that you want users to see before the audio begins. Include the JavaScript to redirect to your (external) audio page after a 15 second delay. 2 - Edit the code you provided earlier, set your frame source to be the new page you just made. 3 - That's it! Visitors to your site will now see your "temporary" page in the iFrame for 15 seconds. After that the iFrame contents will be your audio program. Hope that makes sense, PM me if you need any help with this.. Bill |
| | |
![]() |
|
| Tags |
| audio, delay, iframebased, player, time |
| Thread Tools | |
| |
![]() |