Forum

Questions and discussions

Video Preview Page display Data Size in MegaBytes

Discuss template's customization

Video Preview Page display Data Size in MegaBytes

Postby MiniCinema » Wed Mar 23, 2011 5:57 pm

Hi again!
On the Video Preview Page -
How can i display the data size in Mb. instead of Kb.

Thanks for your help!
MiniCinema
 
Posts: 32
Joined: Sat Mar 05, 2011 1:20 pm

Re: Video Preview Page display Data Size in MegaBytes

Postby lucy » Wed Mar 23, 2011 11:59 pm

members/content_video.php
line about 681:
Code: Select all
$size=strval(float_opt(filesize($DOCUMENT_ROOT.server_url($rs->row["server1"])."/".$folder."/".$ds->row["url"])/(1024*1024),0))." MB";
lucy
 
Posts: 144
Joined: Mon Apr 12, 2010 2:52 pm

Re: Video Preview Page display Data Size in MegaBytes

Postby MiniCinema » Thu Mar 24, 2011 1:04 am

Thank you Lucy -
I appreciate your help!
Cheers-
MiniCinema
 
Posts: 32
Joined: Sat Mar 05, 2011 1:20 pm


Return to Design & Templates

Who is online

Users browsing this forum: No registered users and 3 guests

cron
  Photo Store Script

Professional php photo stock script and WordPress plug-in for photographers and video producers.

  Support
  CMSaccount Inc.