• Resolved smudboy

    (@smudboy)


    I really like the popup video player, and I’m trying to get that to work on pageload.

    I’m trying to get the video I load (on a homepage) to play immediately after the page loads, as opposed to having the user click on the video. I hide the gallery in a div “display: none” tag.

    Is there anyway to do this? I’m currently just using the cvgSlideShowWidget(1) in a template.

    http://wordpress.org/extend/plugins/cool-video-gallery/

Viewing 15 replies - 1 through 15 (of 16 total)
  • Plugin Author Praveen Rajan

    (@praveen-rajan)

    @smudboy

    You could trigger the click on the video link on document ready using jQuery functionalities.

    Thanks
    Praveen

    Thread Starter smudboy

    (@smudboy)

    I’m not familiar with jQuery functionalities for loading a file into.

    I put it into the window.onload = function() event, which is the same place I call the video from vimeo.

    It goes like this:
    jQuery.prettyPhoto.open('http://vimeo.com/23856236','Title','Message');

    I tried doing this:
    jQuery.prettyPhoto.open('http://mydns.com/mydir/myvideo.flv?width=600&height=600','Title','Message');

    but no dice.

    Plugin Author Praveen Rajan

    (@praveen-rajan)

    @smudboy,

    May I know is this for activating Cool Video Gallery or any other plugin which you are using?

    You could use

    jQuery(document).ready(function(){
    });

    Thanks
    Praveen

    HI there, I like the plugin a lot. I need to create a buffer of 8 seconds or so, so the video may load before playing. I can do this in the normal JW Player for WordPress, but I am unfamiliar with how to do this with your great plugin. I am not a programmer and can only modify some code and follow instructions. thanks for your help and thanks for the plugin.

    Thread Starter smudboy

    (@smudboy)

    I just want a solution that works.

    Previously, I was using

    <?php cvgShowCaseWidget(1); ?>
    and then
    <?php cvgSlideShowWidget(1); ?>

    Which successfully loaded the gallery. However, I hid that gallery. Now I’m trying to access the object (like, an id of the gallery) to run the video in a popup on page load, instead of having to click on it. I was thinking something like a getElementByID command.

    Plugin Author Praveen Rajan

    (@praveen-rajan)

    @karenratte

    Could you share how you are able to do the same with normal JW Player.

    Thanks
    Praveen

    Plugin Author Praveen Rajan

    (@praveen-rajan)

    @smudboy

    May I have a sample page hosted so that I can examine the structure of your HTML content.

    Thanks
    Praveen

    Thread Starter smudboy

    (@smudboy)

    Plugin Author Praveen Rajan

    (@praveen-rajan)

    @smudboy

    I couldn’t find anything related to cool video gallery that you are planning to integrate in the link provided.

    Thread Starter smudboy

    (@smudboy)

    @praveen
    thanks for answering..
    In the JW Player plugin for WordPress there are many options. Under Advanced Settings and Rendering there is a line that says Bufferlength. this is how the post looks when I add it manually.

    [jwplayer config=”Home Page” mediaid=”148″ Bufferlength=8 Duration=”2:13″]
    Does that answer your question?

    @praveen
    Perhaps what I am asking for is that there be somewhere to put shortcut codes? For us uninitiated into the world of actual coding?

    Hi,
    1st off thanks for a great plugin, it’s very cool.

    Am wondering if smudboy found a resolution to his needs ?

    I too want to auto play on page load, you can see the demo site for the example on
    http://11w.co.uk

    Ideally I’d like the 1st vid (about us) to start …. any help is very much appreciated

    Thanks,

    Howiej

    Thread Starter smudboy

    (@smudboy)

    @howiej

    Not yet. I still don’t know how to load a video and play it automatically on page load through jQuery in a template.

    Hi smudboy, I can see you figured out how to do it on http://www.greengrocerinc.ca. I am looking to do exactly the same thing (i.e, autoplay a video the 1st time someone visits the site, although I am using prettyphoto.js not jwplayer)

    I would be eternally grateful if you could share your knowledge.

    Thanks in advance.

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘[Plugin: Cool Video Gallery] Autoload/autoplay after page load’ is closed to new replies.