Support › Forums › Gris – HTML Template › Email defaulting to mailchimp
- This topic has 4 replies, 2 voices, and was last updated 7 years, 4 months ago by
CreaboxThemes.
-
AuthorPosts
-
November 14, 2015 at 6:28 am #4928
joe
ParticipantHello,
Two questions:
1) I changed the email in sendmail.php, yet when I enter an email on the main page, it still says it’s a subscriber email. I just want a simple email with the email, and the default subject. I removed the menu and maps as I don’t need them.
2) Is there a better way to add more visible play, mute buttons on a youtube at index_video2.html? I tried the
showControls: true
but the small text is not good and I also tried your suggestion<button onclick="$('#bgndVideo').muteYTPVolume()">mute</button>
but it doesn’t do anything. I just need a large stop/play/mute buttons.-
This topic was modified 7 years, 6 months ago by
joe.
November 14, 2015 at 11:14 am #4930CreaboxThemes
KeymasterHi,
1. About the first point, I don’t understand good the problem. Can you explain it better? And please, can you sen me your url to check it?
2. If you want to add buttons to control the video, you have to follow the next steps:
- In the file video_youtube.js, you have to add the next code after the line
jQuery("#bgndVideo").mb_YTPlayer();
:jQuery("#stop_video").click(function(){ jQuery("#bgndVideo").pauseYTP(); }); jQuery("#play_video").click(function(){ jQuery("#bgndVideo").playYTP(); }); jQuery("#mute_video").click(function(){ jQuery("#bgndVideo").muteYTPVolume(); }); jQuery("#unmute_video").click(function(){ jQuery("#bgndVideo").unmuteYTPVolume(); });
- Then, add the next code in your main file index.html, after the video is loaded
<a id="bgndVideo" ...></a>
:<!-- ============================================== CONTROL VIDEO =============================================== --> <div id="control_video"> <button id="stop_video"><span aria-hidden="true" data-icon="`"></span></button> <button id="play_video"><span aria-hidden="true" data-icon="E"></span></button> <button id="mute_video"><span aria-hidden="true" data-icon="x"></span></button> <button id="unmute_video"><span aria-hidden="true" data-icon="z"></span></button> </div>
- At the end, add the next code in the css file:
#control_video{ position: absolute; z-index: 10; bottom: 20px; right: 20px; } #control_video button{ width: 40px; height: 40px; line-height: 40px; background: none; border: 1px solid #fff; color: #fff; border-radius: 50%; font-size: 1em; text-align: center; padding: 0px; margin: 0px 5px; opacity: 0.5; cursor: pointer; -webkit-transition: all 0.35s ease-out; -moz-transition: all 0.35s ease-out; -ms-transition: all 0.35s ease-out; -o-transition: all 0.35s ease-out; transition: all 0.35s ease-out; } #control_video button:hover{ opacity: 1; } #control_video button#stop_video, #control_video button#play_video { font-size: 1.5em; vertical-align: bottom; }
Regards
-
This reply was modified 7 years, 6 months ago by
CreaboxThemes.
-
This reply was modified 7 years, 6 months ago by
CreaboxThemes.
November 14, 2015 at 9:40 pm #4935joe
ParticipantThanks. Your code works well with the controls. Regarding #1, I don’t want a contact form on index_video2, just a simple subscription email entry like the index.html has. Can it work like that?
November 16, 2015 at 9:57 am #4937CreaboxThemes
KeymasterHi Joe,
yes, that is possible. Can you send me your url to check your website?
Regards
January 9, 2016 at 1:07 pm #5078CreaboxThemes
Keymaster -
This topic was modified 7 years, 6 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.