Forum Replies Created
-
-
13 years ago in reply to: How to stop autoplay on a page revisit
Hi again…
After a little research I’ve found that I can set a cookie in WP for a new visitor if I place the following code in my theme’s functions.php file…
// Set cookie for new user
function set_newuser_cookie() {
if (!isset($_COOKIE)) {
setcookie(‘newvisitor’, 1, time()+86400, COOKIEPATH, COOKIE_DOMAIN, false);
}
}
add_action( ‘init’, ‘set_newuser_cookie’);To access the cookie and stop autoplay for a returning visitor where would I place something like the following in Flowplayer…
if (isset($_COOKIE)) {
echo ‘don’t play video’;
}
else {
echo ‘play video the first time’;
}thx… dave
13 years ago in reply to: How to stop autoplay on a page revisitHi Zdenka… nice to hear from you again.
Can you give me an idea where I might start developing a cookie?
I’ll look for some javascript and after I discover what may work, where would it be inserted in the plugin to stop autoplay on a page revisit?
thx… dave
13 years ago in reply to: Making canvas background transparentWell… we have success!!!
Thanks for the help.. I really appreciate your interest in helping solve the problem… that’s a very positive Foliovision difference from other suppliers.
All the best… dave
13 years ago in reply to: Making canvas background transparentOkey dokey… I understand… thx
In http://flowplayer.org/documentation/skinning/branding.html there is an example that identifies the text for the replayLabel as “Play again”…
// default settings for the play button
play: {/*
relative path to the play button, this can be a JPG, PNG or SWF file.
NOTE: the button can only be changed in the commercial versions
*/
url: ‘play.swf’,// all display properties, except the z-index, can be modified in all versions
opacity: 0.8,// label text; by default there is no text
label: null,// label text at end of video clip
replayLabel: ‘Play again’,/*
progress indicator – this is shown while video is being loaded.
it is always in the same place as the play button.
*/
// how fast progress indicator fades out after video is loaded
fadeSpeed: 500,// how fast buffering animation rotates
rotateSpeed: 50}
Therefore… Couldn’t the opacity be set to 0.0 for this function and then the label would be invisible??
… dave
13 years ago in reply to: Making canvas background transparentIs the play again button the same as the play button?
Over on the Flowplayer support site they suggest you remove the play image by
onLoad: function() {
this.getPlugin(‘play’).css({opacity: 0});
}or
<script language=”javascript”>
// our custom configuration is given in third argument
flowplayer(“playerContainer”, “path/tohttp://releases.flowplayer.org/swf/flowplayer-3.2.7.swf”,{
play: null
// or play: {opacity: 0}
});
</script>any thoughts on my next step?
thx… dave
13 years ago in reply to: Making canvas background transparentThanks. I’ll definitely be buying.
Where is the play again button image stored? Perhaps I can change the actual icon image or make it smaller.
thx again… dave
13 years ago in reply to: Making canvas background transparentThanks for the details… I appreciate it.
So what is the cost to purchase a license so that I can remove the logo branding and when I buy that license, will I be able to remove the PlayAgain button?
thanks so much… dave
13 years ago in reply to: Making canvas background transparentOn a previous version of FV Flowplayer the logo disappeared a few seconds after it was displayed and I was also able to change the PlayAgain icon to Share.
Please see http://realestatecareertraps.com/about/keystone-partners-group-leadership-team/
Should I use version 1.06 instead of the latest version1.1
thx again… dave
13 years ago in reply to: Making canvas background transparentFantastic… worked like a charm… you’re terrific.
Last question… is there a way to remove the Flowplayer copyright that is displayed when I mouse over the video?
And can I remove the playagain button?thx… dave
13 years ago in reply to: Making canvas background transparentThanks..
Made the suggested pages but the video doesn’t play with a transparent canvas…. it uses a black gradient.
Can you view ‘http://www.vlinkwisdom.com/about/our-team/dw-test/’ and perhaps you might have an idea as to what I should next edit.
thx… dave
13 years ago in reply to: Making canvas background transparentHappy New Year Zdenka… hope you enjoyed the holidays.
Thanks for the quick reply. In line 182 do I replace
backgroundColor:”.trim($this->conf).”
with
backgroundColor:’transparent’
and do I need to add a new line
backgroundGradient:’none’Thanks for the help… dave
14 years ago in reply to: How to resize play button?Thanks Zdenka
I replaced style=”top: ‘.round($height/2-45).’px; border:0;” with style=”position: absolute; left: 10px; border:0;” and I now have exactly what I needed.
Such a great plugin to work with….
14 years ago in reply to: How to resize play button?Thanks for the info on how to adjust the size of play button… having a smaller button really made a difference.
Is there a way to move the button to the top right or left of the play window? I found the code which I believe centers the button ($height/2-45). What could I use to shift the button to a different location?
thx…