| | #1 |
| Active Warrior Join Date: 2009
Posts: 87
Thanks: 9
Thanked 109 Times in 29 Posts
|
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 | |
| |
| | #2 |
| Marcus Lim War Room Member Join Date: 2010 Location: Sydney, Australia
Posts: 861
Thanks: 231
Thanked 282 Times in 233 Posts
|
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.
|
|
Marcus Lim Silver Bullet Publishing | |
| |
| | #3 |
| Warrior Member War Room Member Join Date: 2012
Posts: 2
Thanks: 0
Thanked 1 Time in 1 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> 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 |
| |
| | #4 |
| Active Warrior Join Date: 2009
Posts: 87
Thanks: 9
Thanked 109 Times in 29 Posts
|
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 | |
| |
| | #5 |
| Warrior Member Join Date: 2012
Posts: 4
Thanks: 0
Thanked 2 Times in 2 Posts
|
There are also WP plugins, like wp-delay-box located here: paulmihaipavel "dot" com "foward slash" wp-delay-box
|
| |
| | #6 | |
| HyperActive Warrior Join Date: 2009
Posts: 157
Thanks: 9
Thanked 11 Times in 11 Posts
|
| |
| |
| | #7 |
| Kevin Clanton War Room Member Join Date: 2012 Location: Austin, Tx
Posts: 54
Thanks: 5
Thanked 10 Times in 10 Posts
|
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> |
| |
| The Following User Says Thank You to kevinclanton For This Useful Post: |
| | #8 |
| New Warrior Member Join Date: 2005 Location: , , Poland.
Posts: 12
Thanks: 0
Thanked 1 Time in 1 Post
|
I use almost same as Kevin posted. Works great.
|
| www.paweldanielewski.pl (english version www.pauldan.com starts at 1/1/2013)
| |
| |
| | #9 |
| Danny Cole Join Date: 2014
Posts: 11
Thanks: 0
Thanked 1 Time in 1 Post
|
hi if you are looking to earier way google "mk delay box wordpress plugin"
|
| |
| | #10 |
| Sales Funnel Consultant War Room Member Join Date: 2011 Location: Atlanta
Posts: 31
Thanks: 1
Thanked 8 Times in 8 Posts
|
You can also try OptimizePress.
|
| | |
| |
|
| Bookmarks |
| Tags |
| action or cart, button, delayed, wordpress |
| |