All Good Things Must Come To An End

As you all know, I have been doing WordPress plugins and supporting it for the past 6 years. These 6 years of my life, I have been through my polytechnic education, my national service as well as my university education.

I just graduated from university in December 2009 and have been looking for full-time jobs. I am offered a full-time job and will be starting work on 1st February 2010.

I regret to say that I am NOT ABLE to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

However, I WILL still update my plugins whenever I can and you still can report bugs to me via email and I will try to fix it.

Author Topic: Help Embeding Media Files on the script?  (Read 12559 times)

0 Members and 1 Guest are viewing this topic.

Offline macvwin

  • Jr. Member
  • **
  • Posts: 41
    • View Profile
Help Embeding Media Files on the script?
« on: 30 October 2007, 13:00 »
Hi guys,

I love your work and the script is absolutely fantastic! If this is on the wrong forum please do feel free to remove it elsewhere.

Here is a little problem i want to get fixed.

I want to be able to play media files on the script e.g. .mp3, .wav, .wmv, .mpg etc..

I check the view file and found this little code. Im not a php programer but just thought how it would work.. This is ONLY for image files i guess, but i want to play media files as well..so how can i go about please!

Code: [Select]
<?php
### Display Download
} else {
$download_filename $file_name;
$download_filename preg_replace("/\s/e" "_" $download_filename);
header("Pragma: public");
header("Expires: 0");
header("Cache-Control: must-revalidate, post-check=0, pre-check=0"); 
header("Content-Type: application/force-download");
header("Content-Type: application/octet-stream");
header("Content-Type: application/download");
header("Content-Disposition: attachment; filename=".basename($root_directory.'/'.$download_filename).";");
header("Content-Transfer-Encoding: binary");
header("Content-Length: ".filesize($root_directory.'/'.$file));
@readfile($root_directory.'/'.$file);
exit();
}
?>

any help would be appreciated..thank you very much

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,692
    • View Profile
  • WordPress Version: WordPress 3.0.x
  • Theme Name: lesterchan.net v3.4
Re: Help Embeding Media Files on the script?
« Reply #1 on: 30 October 2007, 15:16 »
sorry, it is not that easy embedding media and I got no time to do it, you need a flash player and stuff to play those files

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline macvwin

  • Jr. Member
  • **
  • Posts: 41
    • View Profile
Re: Help Embeding Media Files on the script?
« Reply #2 on: 30 October 2007, 15:54 »
I agree, but i was thinking of placing a little code, so the .mp3 files can play with windows media player, is that possible?

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,692
    • View Profile
  • WordPress Version: WordPress 3.0.x
  • Theme Name: lesterchan.net v3.4
Re: Help Embeding Media Files on the script?
« Reply #3 on: 30 October 2007, 16:30 »
yes, that involves checking the extension type and embedding the tag according, but I got no time to do it.

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline macvwin

  • Jr. Member
  • **
  • Posts: 41
    • View Profile
Re: Help Embeding Media Files on the script?
« Reply #4 on: 31 October 2007, 11:26 »
ok..thanks man...can anyone esle please help me with this as i really need it :(...thanks in advance

Offline Ttech

  • Official Support
  • Global Moderator
  • *****
  • Posts: 4,296
    • View Profile
Re: Help Embeding Media Files on the script?
« Reply #5 on: 01 November 2007, 22:30 »
I'll see what I can do. But it will have to wait till the weekend.
Learning and Helping one day at a time.




DevNode.org Operator - The IRC network for Programers

Offline macvwin

  • Jr. Member
  • **
  • Posts: 41
    • View Profile
Re: Help Embeding Media Files on the script?
« Reply #6 on: 11 November 2007, 10:40 »
thanks so much, i appreciate it.  ;)

Offline Ttech

  • Official Support
  • Global Moderator
  • *****
  • Posts: 4,296
    • View Profile
Re: Help Embeding Media Files on the script?
« Reply #7 on: 12 November 2007, 03:57 »
I'm wokring on it.
Learning and Helping one day at a time.




DevNode.org Operator - The IRC network for Programers

Offline macvwin

  • Jr. Member
  • **
  • Posts: 41
    • View Profile
Re: Help Embeding Media Files on the script?
« Reply #8 on: 16 November 2007, 16:16 »
great, cant wait to see it.. :D..thank u once again.

Offline macvwin

  • Jr. Member
  • **
  • Posts: 41
    • View Profile
Re: Help Embeding Media Files on the script?
« Reply #9 on: 27 November 2007, 09:19 »
any news on this yet? please let me know...thanks in advance :D

Offline Node

  • Newbie
  • *
  • Posts: 5
    • View Profile

Offline macvwin

  • Jr. Member
  • **
  • Posts: 41
    • View Profile
Re: Help Embeding Media Files on the script?
« Reply #11 on: 13 October 2008, 23:34 »
hi Node, its not that simple, i want windows media player or quick time embeded on the script so, if some clicks on the song it plays on the site.