logo
Ask your WordPress questions! Pay money and get answers fast! (more info)

Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.

If the asker does not get an answer then they have 10 days to request a refund.

$25
Add a splash screen with video

I'm using Steve Lambert's WPFolio theme and I need help adding a splash screen when someone first visits the website. I have a video file I would like to have play automatically (locally or from vimeo) with a button below that allows a viewer to skip this screen and go directly to the site.

I think the complicated part would be differentiating when someone first visits the site from an outside link and not when just clicking on the home page while they are already viewing the site.

Is this even possible in WP?

My website is www.wyattburns.com

Thanks!

moclov555 | 07/24/12 at 1:13pm Edit
Tutorial: How to assign prize money


(10) Possible Answers Submitted...

See a chronological view of answers?

Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.

  • avatar
    Last edited:
    07/24/12
    1:18pm
    Arnav Joy says:

    yes it is possible to make it , give me access to the site i will do it

    and also tell me how you want it to look

  • avatar
    Last edited:
    07/24/12
    1:21pm
    Dbranes says:

    Have look at this plugin

    http://wordpress.org/extend/plugins/wsi/

    It supports video on the splash screen.

    Previous versions of this answer: 07/24/12 at 1:21pm

  • avatar
    Last edited:
    07/24/12
    1:20pm
    Daniel Yoen says:

    you can try this :


    if (!isset($_COOKIE['enter']))
    {
    if(isset($_POST['enter']))
    {
    setcookie("enter", $_POST['enter']);
    }
    else
    {
    header('Location: ' . home_url() . '/intro/');
    }
    }


    then, make new page "intro"

    • 07/24/12 1:23pm

      moclov555 says:

      That goes in the CSS?

    • 07/24/12 1:27pm

      Daniel Yoen says:

      No, before <!DOCTYPE on header.php :)

  • avatar
    Last edited:
    07/24/12
    1:24pm
    Manoj Raj says:

    We can do it with any jquery lightbox plugin... If you can give me the details through a personal message i can do it for you...

    • 07/25/12 7:59am

      Manoj Raj says:

      Hi,

      Here is the instructions to set a vimeo video as a splash screen

      Step 1 : Install the "WP Video Lightbox" plugin located in the following url and Activate the plugin

      http://wordpress.org/extend/plugins/wp-video-lightbox/

      Step 2 : Add the following code to the footer.php file in your theme before calling <?php wp_footer(); ?>

      <a href="http://vimeo.com/33508155?width=960&amp;height=446 
      " rel="wp-video-lightbox" class="lightvideo" title="" style="display: none;"></a>


      You can see clearly from the code the url, width, height parameters are set... you can change them to whatever you wish...

      Step 3: The plugin by default has disabled autoplay videos -> So we need to enable it...

      Go to Plugins -> Editor -> Select plugin to edit: -> Select "WP Video Lightbox"

      You will be able to see the file wp-video-lightbox.php

      Search for the following line

      $vid_lightbox_autoplay	      = 'false';


      Replace 'false' with 'true' in the above line

      Step 4: Add the following script after wp_head(); ?>

      <script type="text/javascript" src="https://raw.github.com/carhartl/jquery-cookie/master/jquery.cookie.js"></script>

      You can download the js from the url and upload it to your theme folder and link it accordingly...

      Step 5: Add the following script after <?php wp_footer(); ?> function

      <script type="text/javascript">
      jQuery(document).ready(function($) {
      if ($.cookie('cookie_name') != '1') {
      $("a.lightvideo").trigger('click');
      $.cookie('cookie_name', '1', { expires: 3 }); }
      });
      </script>


      Thats all done... If a user visits your webpage first time, It loads the video and set a cookie which expires in 3 days... You can change the value to whatever you want...

      In a similar fashion you can add a youtube video, swf , image...Read the instructions in the following pdf...

      http://www.tipsandtricks-hq.com/wp-content/uploads/docs/WP-Video-Lightbox-Plugin-Usage-Guide.pdf

      If you need my help in installing and making it active, do send me a personal message and i can do it for you....

  • avatar
    Last edited:
    07/24/12
    1:30pm
    Gabriel Reguly says:

    Hi moclov555,

    I did this before using this plugin: http://wordpress.org/extend/plugins/simplesplash/

    It is very straightforward and effective.

    If you want me to help you, please send me a PM with login details.

    Regards,
    Gabriel

  • avatar
    Last edited:
    07/24/12
    1:33pm
    Yoyo Sunaryo says:

    1. create your own splash screen page (with embedded video), save to "home.html"
    2. upload "home.html" to your wordpress root directory via ftp or file manager
    3. edit .htacces file and add this code :

    DirectoryIndex home.html index.php


    and your .htaccess file should be like this :

    DirectoryIndex home.html index.php
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>


    4. now open your website. :D

  • avatar
    Last edited:
    07/25/12
    4:31am

    This answer was downvoted by the top experts.

  • avatar
    Last edited:
    07/25/12
    9:56am

    This answer was downvoted by the top experts.

  • avatar
    Last edited:
    07/25/12
    10:32am

    This answer was downvoted by the top experts.

  • avatar
    Last edited:
    07/25/12
    8:38pm

    This answer was downvoted by the top experts.

This question has expired.



Dbranes had additional discourse to offer.



Current status of this question: Community pot



Please log in to add additional discourse to this page.





Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.

If the asker does not get an answer then they have 10 days to request a refund.