[MOD RELEASE ICY1.3] Media Mod For Icy Phoenix 1.3


Goto page Previous  1, 2

Subject: Re: [MOD RELEASE ICY1.3] Media Mod For Icy Phoenix 1.3
also how can I make it so people just browsing the site can see the videos without registering?

Profile PM  
Subject: Re: [MOD RELEASE ICY1.3] Media Mod For Icy Phoenix 1.3
Has anyone managed to come up with a block so that new videos will show up in the portal?

Profile PM  
Subject: Re: [MOD RELEASE ICY1.3] Media Mod For Icy Phoenix 1.3
Ok, here are the mods that I made in order to have an universal music player and not the windows media player, as I told before, with the default files this mod works only on window$ computer:

Here is the page of a good free universal music player

http://musicplayer.sourceforge.net/

the music player can be downloaded at

http://sourceforge.net/projects/mus....3.zip/download

(there are three versions, choose whatever you want)

I placed it in my root directory, otherwise modify the script accordingly (template files).

here are my mods:

music_page.php

find

Code: [Download] [Hide] [Select]
'U_SONG' => append_sid('music_song.' . PHP_EXT . '?song_id=' . $song_id),


replace with:

Code: [Download] [Hide] [Select]
'U_SONG' => (MEDIA_FILES_PATH . $thissong['song_filename']),


music_page_body.tpl and music_show_body.tpl

find:
Code: [Download] [Hide] [Select]
<!-- BEGIN media -->
<div align="center">
<object width="480" height="344" id="MediaPlayer1" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab# Version=5,1,52,701" standby="Loading Microsoft Windows® Media Player components..." type="application/x-oleobject">
<param name="fileName" value="{U_SONG}" />
<param name="animationatStart" value="true" />
<param name="transparentatStart" value="true" />
<param name="autoStart" value="true" />
<param name="autoSize" value="true">
<param name="showControls" value="true" />
<param name="Volume" value="-300" />
<embed width="480" height="344" type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" src="{U_SONG}" name="MediaPlayer1" autoStart="true" showControls="true" autoSize="true"></embed>
</object>
</div>
<!-- END media -->


replace with:

(change yourdomain.com with your site name or add the IP_ROOT_PATH)

Code: [Download] [Hide] [Select]
<!-- BEGIN media -->
<div align="center">
<object type="application/x-shockwave-flash"
data="http://yourdomain.com/xspf_player.swf&autoplay=true&song_url={U_SONG}&song_title={SONG_TITLE}"
width="400" height="17">
</object>
</div>
<!-- END media -->


A lot of customization can be made, for example, in the category listing, insted of the "play" button that opens a popup windows, the slim version of this player could be used... For now it's enough for me, there are some other little typo errors in the tpl to correct.

I hope that someone will take good care of developing this mod, because it's very useful (and above all it's needed by my site >hint< >hint<)
A lot of things hsould be added, for example the smilies in the comment page...

Goto page Previous  1, 2

Page 2 of 2


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.1001s (PHP: 17% SQL: 83%)
SQL queries: 10 - Debug Off - GZIP Enabled