Results 1 to 2 of 2

Thread: Video mootools lights off mod for SocialEngine

  1. #1
    Administrator GumSlone's Avatar
    Join Date
    Mar 2005
    Location
    Mars, GumCity
    Posts
    1,495
    Thanks
    125
    Thanked 573 Times in 201 Posts
    Blog Entries
    2
    Rep Power
    10

    Default Video mootools lights off mod for SocialEngine

    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: [Only registered and activated users can see links. Click Here To Register...] and click the light bulb.

    so here we go.
    1. Open video.tpl file with your editor and add before
    Code:
    {include file='footer.tpl'}
    the line:
    Code:
    <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>
    2. in {* SHOW STATS *} add after
    Code:
    <div style='float: left; padding-left: 15px; padding-top: 5px;'>{lang_sprintf id=5500038 1=$video_info.video_views}</div>
    the line:
    Code:
    <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>
    3. in {* DISPLAY FLASH PLAYER *} replace
    Code:
    <div id='sevideo_player'></div>
    by
    Code:
    <div id='sevideo_player' style="position:relative;z-index:100;"></div>
    those who use my JWplayer mod need to replace
    Code:
    <p id='preview'>The player will show in this paragraph</p>
    by
    Code:
    <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 [Only registered and activated users can see links. Click Here To Register...]

    [Only registered and activated users can see links. Click Here To Register...]


  2. #2
    Senior Member
    Join Date
    Mar 2009
    Location
    Singapore
    Posts
    225
    Thanks
    4
    Thanked 8 Times in 4 Posts
    Rep Power
    5

    Default

    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.
    [Only registered and activated users can see links. Click Here To Register...]
    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.


    [Only registered and activated users can see links. Click Here To Register...]

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. SocialEngine mod Video 3.05 jwplayer hak
    By GumSlone in forum SocialEngine
    Replies: 1
    Last Post: 12-06-09, 19:14

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

SEO by vBSEO

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19