rejetto forum
Software => HFS ~ HTTP File Server => HTML & templates => Topic started by: TCube on October 08, 2007, 03:04:17 PM
-
Hello to u all !
Did anyone notice a tolerance of max. file number [15 exactly and not one more] when browser collapsing ? (tried FF&Opera]
- At the 16st mp3 file in one page, the mp3 flash player just stops and restarts when page is expanded again. The code in my template is underneath.
[file.mp3]
<tr class="mout" href="%item-url%">
<td width="16px">%comment%</td>
<td><a href="%item-url%"> %new% <img align="top" src="/~img_file" border="0" alt=""> <b>%item-name%</b></a></td>
<td>%item-size%</td>
<td>%item-modified%</td>
<td>%item-dl-count%</td>
<td align=right>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="200" height="20" id="mp3player"
codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" >
<param name="movie" value="http://%host%/mp3player.swf" />
<param name="flashvars" value="config=http://www.server.com/config.xml&file=http://www.server.com/playlist.xml" />
<embed src="http://%host%/mp3player.swf" width="200" height="20" name="mp3player"
flashvars="file=%item-url%"
type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</tr>
That's would be cool to know the reason why - I'm tired of spliting my lists of "singles".
TCube
Edit : as anyone worked out how to implement "go to next page" yet ?
-
The reason why, is because you try to have many players on the same page. It is best with HFS to have a single player with a 'single file only' rule. A link that opens the player, and when another player is activated the other player closes, this takes the stress of the browser, flash, and HFS. The next ToG will sport an exciting new player that follows this AND turns your filelist into a virtual playlist :) you can try implementing this into your template when its ready.
Reply to edit, no? is this something to do with the filelist limiting?
-
Thanks TSG .... "putting strain" ? hum .... ;D
For the moment I want users to listen a single mp3 wihtout looking again for one specific mp3 file into a popup listing.
'Go to next page' : yes, if the list is too long, this automated spliting page routine would avoid making sub-directories - in any case making things simpler to do - and making pages more refined too !
TCube
Edit : found the related topic to "next page" ... I'll ask mars en francais s'il vous plait
http://www.rejetto.com/forum/index.php?topic=5028.0 (http://www.rejetto.com/forum/index.php?topic=5028.0)