Hi again
Yes you can.
Follow this basic instructions:
Using Musicity template as example, copy gk.video.js file from AppSite js directory and paste it on ../gk_musicity/js/gk.video.js
Next open ../gk_musicity/layouts/blocks/head.php and add this line:
- Code: Select all
<script type="text/javascript" src="<?php echo $this->templateurl() . '/js/gk.video.js'; ?>"></script>
before
- Code: Select all
<?php if($this->getParam('css_override')) $document->addStylesheet($this->templateurl() . '/css/override.css'); ?>
CSS support:
Add this lines on gk_stuff.css:
- Code: Select all
/* Moviebox stylesheet */
#lbOverlay { position: fixed; height: 100%; top: 0; left: 0; width: 100%; background: #fff; cursor: pointer; z-index:100000; }
#lbCenter { position: fixed; left: 50%; top: 50%; overflow: hidden; background: #fff; z-index:100001; }
#lbBottomContainer { display:none; }
.lbLoading { background: #fff url(/images/loader.gif) no-repeat center; }
#lbImage { background-repeat: no-repeat; border: 20px solid #fff; }
#lbPrevLink,
#lbNextLink { display: none; }
/* slimbox override */
#sbox-overlay { background: #fff!important; }
#sbox-window { background-color: #fff!important; border-radius: 0!important; -moz-border-radius: 0!important; -webkit-border-radius: 0!important; padding: 20px!important; }
#sbox-btn-close { display: none; }
/* videos */
a.gk_video_frame { font-size: 11px; color:#888; display:block; width: 110px; padding-top:85px; margin-left:30px; position:relative; text-align: center; float:left; margin-top:20px;}
a:hover.gk_video_frame { color: #3B3B3B}
a.gk_video_frame:first-child { margin-left:20px; }
a.gk_video_frame img { margin-top:-87px; display:block; margin:0 auto; width:103px; height:61px; position: absolute; top: 0; width: 103px; z-index: 98; }
a.gk_video_frame span.gk_vframe { display:block; text-indent:-999em; position: absolute; z-index:99; width:110px; height:80px; background: transparent url('../images/video_frame.png') no-repeat center 0; top:0; }
a.gk_video_frame span.gk_voverlay { text-indent:-999em; position: absolute;top:0; z-index:100; display:block; width:110px; height:65px; background: transparent url('../images/video_icon.png') no-repeat center 15px; }
a:hover.gk_video_frame span.gk_voverlay { background-position: 50% -67px}
.gk_block h3 a:hover { color:#36b0e4; }
#lbCenter { box-shadow:0 0 10px #aaa; -moz-box-shadow: 0 0 10px #aaa; -webkit-box-shadow: 0 0 10px #aaa; }
Get the following images from Appsite
../gk_appsite/images/video_frame.png
../gk_appsite/images/style1/video_icon.png
and copy to Musicity
../gk_musicity/images/video_frame.png
../gk_musicity/images/video_icon.png
This should work fine.
Naturally, you can add classes for each style on Musicity.
Cheers
