rejetto forum

Software => HTML & templates => HFS ~ HTTP File Server => RAWR-Designs => Topic started by: westwoon on January 10, 2008, 05:01:48 PM

Title: Streaming AVI in DivX player with no error
Post by: westwoon on January 10, 2008, 05:01:48 PM
Many ppl also report for the DivX streaming problem for the file name that consist of space. After I hardly analyzing the coding from GE terayon RAWR-PreviewBox, i found out the solution for it. ;) below is some change in the RAWR-PreviewBox javascript coding, replace the "setDivxBox" function with the coding has shown below. If you want to stream chinese or japanese AVI file name, you will need to close the "Encode non-ASCII character" function in HFS URL encoding option. After change it, you will be able to stream the AVI file name that with space and also that it is in the folder name that have space too!!  ;D ;D

Updated:: This solution can be stream for special character file name as well!! :D

function setDivxBox(target, content, name) {
   setName(name=="undefined"?content:name);
   content = "<object classid=\"clsid:67DABFBF-D0AB-41fa-9C46-CC0F21721616\" width=\""+aspect+"\" height=\"240\" codebase=\"http://go.divx.com/plugin/DivXBrowserPlugin.cab\"><param name=\"src\" value=\"http://"+infoHost+encodeURI(infoFolder+unescape(content))+"\"><embed type=\"video/divx\" src=\"http://"+infoHost+encodeURI(infoFolder+unescape(content))+"\" width=\""+aspect+"\" height=\"240\" pluginspage=\"http://go.divx.com/plugin/download/\"></embed></object>"
   gEBI(target+"Content").innerHTML = content
}
Title: Re: Streaming AVI in DivX player with no error
Post by: TSG on January 10, 2008, 05:39:59 PM
I have just gotten good news from parade that the special character problem is fixed in the new version of the preview box code, thanks for the post it will be helpful for users of Terayon cause we don't plan to release a new Terayon or ToG for a while yet, I am working hard on the new template. It will take about a weeks work to get these 2 templates up to the next generation of template :) all eyes on the new guy http://www.rawr-designs.com/template/ lol.
Title: Re: Streaming AVI in DivX player with no error
Post by: westwoon on January 11, 2008, 02:46:05 PM
wowow, not bad the new template. The icon is similar with windows one, but about the preview box, it got some bug. that is the background of the preview box is transparent and also it cannot preview the picture that converted from earlier version 2.1.0.3 preview generater. And 1 thing i forget to tell about the flash player for mp3, it have a very tiny bug, that is after click stop for the song, the seekbar won't back to beginning of the duration bar. that all for my testing. lastly, i m here feel very proud and thank for you all guys that work hard for the template and share together with others cheers!!  :D :D
Title: Re: Streaming AVI in DivX player with no error
Post by: Giant Eagle on January 11, 2008, 03:42:46 PM
After you press the stop button, the track icon still remains on the last played positition. This way, you can easily see where you stopped your song. If you press play, it will start from 0:00.
Title: Re: Streaming AVI in DivX player with no error
Post by: westwoon on January 11, 2008, 04:32:24 PM
oou, icic thank for your explaination~~ ;D
Title: Re: Streaming AVI in DivX player with no error
Post by: westwoon on March 02, 2008, 03:06:31 AM
After some time, I try streaming the special character of AVI file, it is played without any error show!!
Update:: With this solution, special character AVI file can be played!! :D