War Room

Go Back   WarriorForum - Internet Marketing Forums > Warrior Support Forums > Programming Talk

Featured Warrior Special Offer...
"Members Of The *War Room* Discover Secrets To Immediate Success!"
Reply
 
LinkBack Thread Tools
Old 09-21-2009, 10:26 PM   #1
Making progress...I think
War Room Member
 
Join Date: Aug 2007
Location: Michigan, USA.
Posts: 691
Thanks: 54
Thanked 88 Times in 44 Posts
Social Networking View Member's Twitter Profile  View Member's YouTube Profile
Contact Info
Send a message via AIM to MarkR
Default Time delay on an iframe-based audio player?

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>

WSO W/PLR - Autoresponder Article Jackpot - High-quality, information-packed articles!
Soccer field diagram - Free diagrams, strategies. etc. for youth soccer coaches
THE Internet Marketing Reference Guide - 23 pages, 140+ definitions, 100+ links, "Niche Research Bonus"!
---- Promises made and promises broken ..... measures of our demise.
MarkR is online now  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-21-2009, 10:33 PM   #2
Advanced Warrior
War Room Member
 
mywebwork's Avatar
 
Join Date: Sep 2008
Location: Honolulu, Hawaii, USA (Currently in Montreal Canada)
Posts: 813
Blog Entries: 1
Thanks: 138
Thanked 217 Times in 146 Posts
Social Networking View Member's Twitter Profile 
Contact Info
Send a message via Skype™ to mywebwork
Default Re: Time delay on an iframe-based audio player?

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
mywebwork is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to mywebwork For This Useful Post:
Old 09-22-2009, 12:01 PM   #3
Making progress...I think
War Room Member
 
Join Date: Aug 2007
Location: Michigan, USA.
Posts: 691
Thanks: 54
Thanked 88 Times in 44 Posts
Social Networking View Member's Twitter Profile  View Member's YouTube Profile
Contact Info
Send a message via AIM to MarkR
Default Re: Time delay on an iframe-based audio player?

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.

WSO W/PLR - Autoresponder Article Jackpot - High-quality, information-packed articles!
Soccer field diagram - Free diagrams, strategies. etc. for youth soccer coaches
THE Internet Marketing Reference Guide - 23 pages, 140+ definitions, 100+ links, "Niche Research Bonus"!
---- Promises made and promises broken ..... measures of our demise.
MarkR is online now  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-22-2009, 12:53 PM   #4
Advanced Warrior
War Room Member
 
mywebwork's Avatar
 
Join Date: Sep 2008
Location: Honolulu, Hawaii, USA (Currently in Montreal Canada)
Posts: 813
Blog Entries: 1
Thanks: 138
Thanked 217 Times in 146 Posts
Social Networking View Member's Twitter Profile 
Contact Info
Send a message via Skype™ to mywebwork
Default Re: Time delay on an iframe-based audio player?

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
mywebwork is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to mywebwork For This Useful Post:
Reply

  WarriorForum - Internet Marketing Forums > Warrior Support Forums > Programming Talk

Tags
audio, delay, iframebased, player, time

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -6. The time now is 10:27 PM.