Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 2nd Apr 2012, 12:16 PM   #1
Active Warrior
 
Join Date: 2009
Posts: 87
Thanks: 9
Thanked 109 Times in 29 Posts
Default
Delayed action/cart button wordpress?
Share on: 
fb share twitter share gplus share more share

Do any of you know of a delayed action script for Wordpress that has a shopping cart button/link pop-up at X minutes into a video presentation?

I know EZS3 has one, as well as JVPress.

Unfortunately I'm semi-committed to Vimeo and my own Wordpress theme --

Would love to know if there is a script/plugin out there I can use.

Thanks in advance if you know the answer to this!

Robert Stover
RobertStover.com
Treborrevo is offline  
Unread 16th Apr 2012, 01:43 AM   #2
Marcus Lim
War Room Member
 
marcuslim's Avatar
 
Join Date: 2010
Location: Sydney, Australia
Posts: 861
Thanks: 231
Thanked 282 Times in 233 Posts
Default
Re: Delayed action/cart button wordpress?
Share on: 
fb share twitter share gplus share more share

You can do it if you use the free flowplayer player and customize its 'cue points' so that the button is shown only when a specified play time has elapsed. Yes it can be technical, but PM me and I'll show you how.

marcuslim is offline  
Unread 16th Apr 2012, 04:51 AM   #3
Warrior Member
War Room Member
 
Join Date: 2012
Posts: 2
Thanks: 0
Thanked 1 Time in 1 Post
Default
Re: Delayed action/cart button wordpress?
Share on: 
fb share twitter share gplus share more share

Probably not what you need but you can still use vimeo and its api,

you would just need to add this to that page:

Code:
<script src="http://a.vimeocdn.com/js/froogaloop2.min.js"></script>   
<script type="text/javascript">

jQuery(document).ready(function() {
    var myPlayer = jQuery('#myPlayer1').get(0);
    var otherElement = jQuery('#otherEl');
    var delay = 120;
    otherElement.hide();
	Froogaloop(myPlayer).addEvent('ready', function() {
    	var f = (myPlayer);   
        var i = setInterval(function(){
            f.api('getCurrentTime', function (value, player_id) {
               if(value > delay){
                    otherElement.show();
                    clearInterval(i);
               }
            });
        },1000);   
    });
});
</script>
the code should be self explanatory,
this code will show an element with id "otherEl" after 2 minutes

you also need to modify your video embed code as follows:

<iframe id="myPlayer1" src="http://player.vimeo.com/video/xxxxx?api=1&player_id=myPlayer1" frameborder="0"></iframe>

and that's pretty much it
emiliobool is offline  
Unread 3rd Sep 2012, 03:41 PM   #4
Active Warrior
 
Join Date: 2009
Posts: 87
Thanks: 9
Thanked 109 Times in 29 Posts
Default
Re: Delayed action/cart button wordpress?
Share on: 
fb share twitter share gplus share more share

A very late "thank you" for posting this code. I had stopped looking and did not see your wonderful response. Thank so much.

Robert Stover
RobertStover.com
Treborrevo is offline  
Unread 24th Sep 2012, 08:22 AM   #5
Warrior Member
 
Join Date: 2012
Posts: 4
Thanks: 0
Thanked 2 Times in 2 Posts
Default
Re: Delayed action/cart button wordpress?
Share on: 
fb share twitter share gplus share more share

There are also WP plugins, like wp-delay-box located here: paulmihaipavel "dot" com "foward slash" wp-delay-box
jhguynn is offline  
Unread 30th Sep 2012, 10:43 AM   #6
HyperActive Warrior
 
Snatch's Avatar
 
Join Date: 2009
Posts: 157
Thanks: 9
Thanked 11 Times in 11 Posts
Default
Re: Delayed action/cart button wordpress?
Share on: 
fb share twitter share gplus share more share

Originally Posted by emiliobool View Post

Probably not what you need but you can still use vimeo and its api,

you would just need to add this to that page:

Code:
<script src="http://a.vimeocdn.com/js/froogaloop2.min.js"></script>   
<script type="text/javascript">

jQuery(document).ready(function() {
    var myPlayer = jQuery('#myPlayer1').get(0);
    var otherElement = jQuery('#otherEl');
    var delay = 120;
    otherElement.hide();
    Froogaloop(myPlayer).addEvent('ready', function() {
        var f = (myPlayer);   
        var i = setInterval(function(){
            f.api('getCurrentTime', function (value, player_id) {
               if(value > delay){
                    otherElement.show();
                    clearInterval(i);
               }
            });
        },1000);   
    });
});
</script>
the code should be self explanatory,
this code will show an element with id "otherEl" after 2 minutes

you also need to modify your video embed code as follows:

<iframe id="myPlayer1" src="http://player.vimeo.com/video/xxxxx?api=1&player_id=myPlayer1" frameborder="0"></iframe>

and that's pretty much it
Is this working with a easy video player embed code or with a amazons3 link? How do I do it?
Snatch is offline  
Unread 2nd Oct 2012, 03:27 PM   #7
Kevin Clanton
War Room Member
 
kevinclanton's Avatar
 
Join Date: 2012
Location: Austin, Tx
Posts: 54
Thanks: 5
Thanked 10 Times in 10 Posts
Default
Re: Delayed action/cart button wordpress?
Share on: 
fb share twitter share gplus share more share

You can also do something simple like this:

<div id="hid" style="visibility:hidden;" >
HIDDEN Content / Buy Button
</div>

<script type="text/javascript">
//hidden buy button
function showIt() {
document.getElementById("hid").style.visibility = "visible";
}
setTimeout("showIt()", 5000); // 1000 ='s 1 second
</script>
kevinclanton is offline  
The Following User Says Thank You to kevinclanton For This Useful Post:
Unread 2nd Oct 2012, 03:44 PM   #8
New Warrior Member
 
Join Date: 2005
Location: , , Poland.
Posts: 12
Thanks: 0
Thanked 1 Time in 1 Post
Default
Re: Delayed action/cart button wordpress?
Share on: 
fb share twitter share gplus share more share

I use almost same as Kevin posted. Works great.

www.paweldanielewski.pl (english version www.pauldan.com starts at 1/1/2013)
Dansky is offline  
Unread 26th Aug 2014, 08:30 AM   #9
Danny Cole
 
Join Date: 2014
Posts: 11
Thanks: 0
Thanked 1 Time in 1 Post
Default
Re: Delayed action/cart button wordpress?
Share on: 
fb share twitter share gplus share more share

hi if you are looking to earier way google "mk delay box wordpress plugin"
mark2index is offline  
Unread 26th Aug 2014, 08:45 AM   #10
Sales Funnel Consultant
War Room Member
 
Join Date: 2011
Location: Atlanta
Posts: 31
Thanks: 1
Thanked 8 Times in 8 Posts
Default
Re: Delayed action/cart button wordpress?
Share on: 
fb share twitter share gplus share more share

You can also try OptimizePress.

internetsuperstar is offline  
Closed Thread


Bookmarks

Tags
action or cart, button, delayed, wordpress


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 09:32 AM.