Video mootools lights off mod for SocialEngine

Started on the old forum in June 2009 · view the original in the archive · old links redirect here

#lights-off #mootools #socialengine

1 reply · 1,754 views · started 17 years ago · 1 min read

2 participants
GumSlone Administrator Principal · 1,690 posts #1

Hi there i have created a lights off mod for video preview page, where you can hide all background exerpt the playing video. for demo check: ??????.com - ????????? ??????! - Jey Spulka ????? - Jewel - I Do and click the light bulb.

so here we go.

  1. Open video.tpl file with your editor and add before
{include file='footer.tpl'} 

the line:

<div id="shadow" style="background-color:#000000; position:absolute; left:0; top:0; width:100%; height:100%;  z-index:80;display: none;" onClick="$('shadow').style.display = 'none';"></div>
  1. in {* SHOW STATS *} add after
<div style='float: left; padding-left: 15px; padding-top: 5px;'>{lang_sprintf id=5500038 1=$video_info.video_views}</div>

the line:

<div style='float: left; padding-left: 15px; padding-top: 5px;'><a href='javascript:void(0);' onClick=" $('shadow').style.display = 'block';"><img src='./images/light_bulb_off.png' border='0' class='icon' /></a></div>
  1. in {* DISPLAY FLASH PLAYER *} replace
<div id='sevideo_player'></div>

by

<div id='sevideo_player' style="position:relative;z-index:100;"></div>

those who use my JWplayer mod need to replace

<p id='preview'>The player will show in this paragraph</p>

by

<p id='preview' style="position:relative;z-index:100;">The player will show in this paragraph</p>

Enjoy

Advertise your mobile site for FREE with AdTwirl

External image (may be gone)

capofret Developer · 225 posts #2

can this also automatically turn light off as soon as the video is played/buffered..example 15 seconds elapsed time? thats what i normally see in those free movie online.

LDSWAPWORLD site closed. im busy with other things in life like facebook , send me PM so i can add you 🙂 www.pinoySG.com

don't ask for help if you're not even helping yourself! i am tired of seeing the line "best site", i want to see something NEW and UNIQUE. maybe if i find one, ill go back to my wap life again.

External image (may be gone)

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close