"video" page problem

Support Forums White – HTML Template "video" page problem

Viewing 15 posts - 1 through 15 (of 16 total)
  • Author
    Posts
  • #4946
    dardar21
    Participant

    Hello, on the video.html page, when opening the html file, an error javascript message displays,saying javascript alert : requested page not found (404) . If clicking on Ok, the video page appears but first, the error message appears.What an i do for the message to disappear? Thks =)

    #4947
    CreaboxThemes
    Keymaster

    Hi dardar21,

    that problem happens because you are not loading the website in a php server (in your local server for example). The twitter feed uses php to load the tweets. Try to upload the theme to a server, and check the problem doesn’t happen.

    Regards

    #4948
    dardar21
    Participant

    Okay, thank you very much for your answer.
    I’ve some other questions about this amazing template :

    1)how can i do to change the progression of the horizontal bar graphs ?(percent-layer general_bg percent-..) because I want it to be at 100 % for one bar ;

    2)Can I do something for the video background be restarted when finished?

    3)How can I change the skills image background?

    Many thanks,

    Truly yours

    #4949
    CreaboxThemes
    Keymaster

    Hi dardar61,

    1. If you want to change the progression of a horizontal bar, you have to edit its css class. For example, the first percentage has the class percent-1, in the css file styles.css, edit that class:
      .percent-1 {
      	width: 60%;
      }
    2. What kind of video background do you use?
    3. In the css file styles.css, edit the attribute background:
      .aboutme .skills{
      	background: url('http://placehold.it/1280x1213&text=Skills+background+image');
      ...
      }
    • This reply was modified 8 years, 4 months ago by CreaboxThemes.
    #4951
    dardar21
    Participant

    Many thanks for your answer ;
    I use the video background with the “video.html” page, that is with a .mp4 video in the “vids” directory,directly on the server.

    #4952
    CreaboxThemes
    Keymaster

    OK. You have to edit the file video.js in the folder js. Remove all the code and paste the next:

    "use strict";
    
    	//set your video options
    	var source = 'vids/video.mp4',
    		sound = true,
    		image_replacement = true;
    	
    	//start the video functios. 
    	if (image_replacement == true){
    		
    		//If you want the option with image replacement
    		if( !device.tablet() && !device.mobile() ) {
    			(function($) {
    				    var BV = new $.BigVideo();
    					BV.init();
    					if (sound == true){
    						BV.show(source,{doLoop:true});
    					} else {
    						BV.show(source,{ambient:true,doLoop:true});
    					}
    				})(jQuery);
    		} else {
    			$('#bgimg').addClass('poster-image');
    		}
    		
    	} else{
    		
    		//If you don't want the option with image replacement
    		(function($) {
    			// initialize BigVideo
    		    var BV = new $.BigVideo();
    			BV.init();
    			if (sound == true){
    				BV.show(source,{doLoop:true});
    			} else {
    				BV.show(source,{ambient:true,doLoop:true});
    			}
    		})(jQuery);
    	}

    Regards

    #4953
    dardar21
    Participant

    Thank you very much for your answer, the only last thing I’ve a problem with is the contact page : The “about me”,work, and contact sections don’t appear in white but in black on the black color of the contact page and nothing happens when clicking on “send” . Why do you believe it makes that ?

    #4954
    CreaboxThemes
    Keymaster

    Hi,

    can you send me your url to check the problem?

    Regards

    #4955
    dardar21
    Participant

    Yes, for sute, the url of the website is : http://www.sitecv.netau.net (i will make the website on another host once i finish it) .

    #4956
    dardar21
    Participant

    Hi, yes, here the url : http://sitecv.netau.net/ (i will take the website on another real hosting provider once I finish it) ; another problem is that after sending the message, nothing happens (it writes it is sent but it doesn’t send it whereas i configured it with a smtp.gmail.com/gmais account and password). Regards,

    #4957
    dardar21
    Participant

    http://sitecv.netau.net/

    Here is the url (i will host the website on another paid provider once i finish the website) ; another problem with the contact page is that nothing happens once i click on send (it writes it is sent but in fact,it doesn’t send anything, but I configured the file by adding smtp.gmail.com ; my gmail account and password.) Regards,

    #4960
    CreaboxThemes
    Keymaster

    Hi,

    edit the file contact.php (folder php) and change the code in the line 34 to his one:

    34 ... $mail->SetFrom(TO_EMAIL,TO_NAME);

    Then, edit the file default.php (folder php/template) and remove all the code and paste this one:

    <? 
         ob_start();
    ?>
         <html>
              <head></head>
              <body>
                   <div><strong>Name: </strong><? echo $name; ?><br/></div>
                   <div><strong>Email: </strong><? echo $email; ?><br/></div>
                   <div><strong>Message: </strong><? echo $message; ?><br/></div>
              </body>
         </html>
    <?
         $contents=ob_get_contents();
         ob_end_clean();
         return($contents);
    ?>

    Regards

    #4964
    dardar21
    Participant

    Hi,
    thank you for your answer;
    nevertheless, it’s still not written in white; do you believe that’s normal ? (so we can’t see “about me”,etc…)

    Regards

    #4966
    CreaboxThemes
    Keymaster

    Ok, I have checked you website and you main file index.html and you have to change the code in the line 87 to this one:

    <li><button class="pt-trigger left-margin css3Animate" data-animation="22" data-goto="6" data-style="lightNav" data-style2="blogNav">Contact<span class="line css3Animate"></span></button></li>

    Remember: the style is set in the attribute data-style. In your case, you have the option darkNav and you have to change it to lightNav.

    And it woul be great if you remove the line 88 with this code:

    <li><button class="pt-trigger css3Animate" data-animation="22" data-goto="" data-style="lightNav" data-style2="contactNav"><span class="line css3Animate"></span></button></li>
    

    Regards

    #4967
    dardar21
    Participant

    Thank you very much for your answers !

    Regards

Viewing 15 posts - 1 through 15 (of 16 total)
  • You must be logged in to reply to this topic.