Webmaster Key - Discussion Forums


Welcome, Guest. Please login or register.
Did you miss your activation email?
February 09, 2012, 06:15:40 PM

Login with username, password and session length
Welceome to Forums!

Important information for guests and new members:

In order to understand the full benefits of becoming an active member of this forum, please review the following information on guest and new member restrictions. These forum changes have been prompted by an overwhelming and unreasonable amount of bot postings and incoherent guest spam messages. We wish to prevent these events from happening in the future and make our community a more comfortable place for all of our members.

For guests:

Guests are not allowed to open new topics, polls, or posts attachments.
If you wish to open up new discussions on this forum, we encourage you to register.

For new members:

New members with less than five posts are not allowed to modify additional profile information such as avatars, contact information, biographies, and signatures. However, new members are encouraged to post their own topics or reply to topics initiated by other members. Become active on the forums and 5 posts should be an easy task!

We are a diverse community with members from all over the world. We encourage new ideas and interesting conversation. Do not be afraid to post webmaster/computer-related questions or problems, as our active members are always willing to help when they are able. Interested? Join us.

+ Webmaster Key Forums
|-+ Webmaster Corner
| |-+ Site Design and Web Authoring
| | |-+ Windows Media/Audio File - Help?
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Stumble Upon! Digg It! del.icio.us! Add to Technorati! ReddIt!  Send this topic Print
Author Topic: Windows Media/Audio File - Help?  (Read 3210 times)
justjeni
Key Keeper
Sr. Member
****
Posts: 339



WWW
« on: October 22, 2003, 12:50:59 AM »

Hi everyone...I'm having a problem.  I don't usually work with audio and/or media files, so I just plain and simply don't know what I'm doing!

I have a page where a file I downloaded is supposed to play an audio and a video file.  I went hunting on the 'net to find the code to use, but I'm obviously missing something. I can get the sound, but not the picture that's supposed to play! Here's the link so you can see what the heck I'm talking about, since I don't think I'm doing a very good job of explaining...thanks!!

http://webpages.charter.net/jeni59/bud.html
Report to moderator   Logged

Corey Bryant
Limited Member

Posts: 9


WWW
« Reply #1 on: October 22, 2003, 01:12:30 AM »

I did not see anything wrong with it. Right now - it is playing a MIDI - which is an audio file. I think you copied the script? 

I should ask: Did you change the source (http://www.anitawebsites.com/scripts/jazzchris.mid) in both places to the source of your file? 

-Corey
http://www.merchantaccounts4less.com
Report to moderator   Logged

12noon
Key Master
Veteran
*****
Posts: 1 321



WWW
« Reply #2 on: October 22, 2003, 02:15:06 AM »

I'm not sure about this and haven't downloaded the file, but don't you need video codec or something ?
Report to moderator   Logged

CoastPC
Key Keeper
Sr. Member
****
Posts: 343



WWW
« Reply #3 on: October 22, 2003, 03:10:32 AM »

Hi Jeni,
       Corey is right, the script has been copied from Anitas free scripts and is doing exactly what it should Smiley . You need to change this line of code>> http://www.anitawebsites.com/scripts/jazzchris.mid  
to the  "Bud commercial" code. Tell us the source of the comercial and we give you some more help Smiley

Chris
Report to moderator   Logged

Sunshine Coast Home Computer User Guide.
http://www.coastpc.info

It will come again from no-where! http://www.becauseENOUGHisENOUGH.com
justjeni
Key Keeper
Sr. Member
****
Posts: 339



WWW
« Reply #4 on: October 22, 2003, 06:44:32 PM »

Quote
Hi Jeni,
       Corey is right, the script has been copied from Anitas free scripts and is doing exactly what it should  . You need to change this line of code>> http://www.anitawebsites.com/scripts/jazzchris.mid   

Yuppers -  thanks all for the responses, I did figure that out this morning. I changed it in the copy of my notes but not on the Web page!  Talk about a major "DOH" moment!!  Well, live and learn, I guess...sigh.  I just wish I wouldn't have so much to learn sometimes... Huh

I did copy that code, yes, because I'm really inept when it comes to audio and video files.  Hope to learn, but that's another issue entirely!
Report to moderator   Logged

MyWebTeks
Jr. Member
*
Posts: 41


If it aint broke...don't fix it!


WWW
« Reply #5 on: December 05, 2004, 10:17:38 PM »

Here's a little snippet of code to save you some time. This code will stream what ever audio or video you have on your site. Not the same as opening a file that has to load before it begins to play. Streaming allows the file to begin playing immediately.

Code:
<!-- copy the code below into your page where you want the pugin to appear -->

<OBJECT ID="WMPlay" 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="../folder_name/name_of_file.mp3">
<PARAM name="DisplaySize" value="0">
<PARAM name="cache" value="true">
<PARAM name="bgcolor" value="black">
<PARAM name="autoplay" value="true">
<PARAM name="loop" value="true">
<PARM name="volume" value="75%">
<EMBED type="application/x-mplayer2 pluginspage="http://www.microsoft.com/isapi/redir.dll?prd=windows&sbp=mediaplayer&ar=media&sba=plugin" filename="../folder_location/name_of_file.mp3" displaysize="2" name="WMPlay" CACHE=TRUE loop="true" bgcolor="black" AUTOPLAY=TRUE>
</EMBED></OBJECT>

Change the name of the file to what ever you wish to stream. .mp3, .wav, .mpg, .mpeg, .wmv etc...

Click here for an example

Have fun Smiley
« Last Edit: December 06, 2004, 02:30:38 AM by MyWebTeks » Report to moderator   Logged

Pages: [1] Go Up Stumble Upon! Digg It! del.icio.us! Add to Technorati! ReddIt!  Send this topic Print 
+ Webmaster Key Forums
|-+ Webmaster Corner
| |-+ Site Design and Web Authoring
| | |-+ Windows Media/Audio File - Help?

Jump to:  
« previous next »


Our Partners
RelmaxTOP Ranking System Web Hosting RelmaxTOP Ranking System
Staff Sites
12Noon[12Noon Gallery] Andy[Urgentclick]
Tamuril[Tamuril's Digital Art Exhibit] Sensovision
Powered by MySQL Powered by PHP We are hosted by Relmax Inc. |Our Privacy Policy | Sitemap
Powered by SMF 1.1.9 | SMF © 2006-2009, Simple Machines LLC
Forum design by Tamuril © 2005.
Valid XHTML 1.0! Valid CSS!