Help html coding

Laddey

FH is my second home
Joined
May 24, 2005
Messages
7,124
So, im putting a site together, its nothing special but its mandatory for this ass college course.

I want to insert a media player into my site, im using frontpage. i googled it and i got the coding but i don't understand how to upload the song i want for the site.

I obviously inserted the coding into a table and when i previewed it and the media player did appear, but how on earth to i select the songs i want to upload?
 

Varna

Fledgling Freddie
Joined
Sep 17, 2005
Messages
752
I assume there is a script with the location of the songs in which the media player uses, you found anything like that?
 

Laddey

FH is my second home
Joined
May 24, 2005
Messages
7,124
I assume there is a script with the location of the songs in which the media player uses, you found anything like that?

Yeah i found the scripting but wtf do you do with it?!
 

Varna

Fledgling Freddie
Joined
Sep 17, 2005
Messages
752
Try opening it in notepad, search for something like "C:\bla\bla.mp3" or something, I assume this would be where you place your songs. You'll need to change this though, possibly create a folder on your webspace using FTP client, call it sounds or something similar.
 

Laddey

FH is my second home
Joined
May 24, 2005
Messages
7,124
Post it here?

Fine, FINE!

<OBJECT id="VIDEO" width="320" height="240"
style="position:absolute; left:0;top:0;"
CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"
type="application/x-oleobject">

<PARAM NAME="URL" VALUE="your file or url">
<PARAM NAME="SendPlayStateChangeEvents" VALUE="True">
<PARAM NAME="AutoStart" VALUE="True">
<PARAM name="uiMode" value="none">
<PARAM name="PlayCount" value="9999">
</OBJECT>


Start Playback

VIDEO.URL="filename";

Stop Playback

VIDEO.controls.stop();

Properties

VIDEO.PlayState;
VIDEO.controls.CurrentPosition;
VIDEO.controls.Duration;

I know it says video, but surely it can be changed easily? Fucking batters my head.


ALSO! The website is only going to be used as a discussion, so this means it wont actually be uploaded to the tinternet.
 

Thorondorito

One of Freddy's beloved
Joined
Jan 4, 2004
Messages
498
VIDEO.URL="filename" must be changed.

Try to put there the location of your mp3 file.
 

Sharma

Can't get enough of FH
Joined
Dec 22, 2003
Messages
4,679
Laddey fails at internets. ;)

I think you need the proper class ID for the type of object too btw..
 

Laddey

FH is my second home
Joined
May 24, 2005
Messages
7,124
Laddey fails at internets. ;)

I think you need the proper class ID for the type of object too btw..

Agree'd! HTML coding isn't my greatest thing.


FHOT fails at coding by the looks of it, useless! THE LOT OF YOU!!!!!!!!
 

old.Tohtori

FH is my second home
Joined
Jan 23, 2004
Messages
45,210
useless! THE LOT OF YOU!!!!!!!!

If you're good enough to put a website up and not good enough ot notice VIDEO.URL="filename"; and go "hmm, i think filename might mean a file..name..." then i don't think there's much help here to be had.
 

Laddey

FH is my second home
Joined
May 24, 2005
Messages
7,124
If you're good enough to put a website up and not good enough ot notice VIDEO.URL="filename"; and go "hmm, i think filename might mean a file..name..." then i don't think there's much help here to be had.

I know it says video, but surely it can be changed easily? Fucking batters my head.
Thats what i said further up.

So 2 questions in this thread.
 

old.Tohtori

FH is my second home
Joined
Jan 23, 2004
Messages
45,210
Try the url of your song on that "filename" bit and see?

I think video doesn't mean "video" in this instance.
 

Laddey

FH is my second home
Joined
May 24, 2005
Messages
7,124
Try the url of your song on that "filename" bit and see?

I think video doesn't mean "video" in this instance.

Ok, but do i have to upload the song to the internet or on my HDD?

VIDEO.URL="filename" must be changed.

Try to put there the location of your mp3 file.

Sounds like on the HDD there & you said the URL of my song. So, you all fail!
 

Bahumat

FH is my second home
Joined
Jun 22, 2004
Messages
16,788
Ok, but do i have to upload the song to the internet or on my HDD?



Sounds like on the HDD there & you said the URL of my song. So, you all fail!

It would be best to upload them all because your link will be pointing to an exact location. This would allow you to view the site on any machine.

If you pull it from your Hard Drive you would need to either use the same PC all the time, or copy the music files into the same location on any PC you use.
 

Laddey

FH is my second home
Joined
May 24, 2005
Messages
7,124
It would be best to upload them all because your link will be pointing to an exact location. This would allow you to view the site on any machine.

If you pull it from your Hard Drive you would need to either use the same PC all the time, or copy the music files into the same location on any PC you use.

Ahh thanks man! Right to the point, have a repute!


Ok maybe no repute! Spread more.
 

Bahumat

FH is my second home
Joined
Jun 22, 2004
Messages
16,788
Ahh thanks man! Right to the point, have a repute!


Ok maybe no repute! Spread more.


Im spreading as fast as i can!
647885.JPG


As you are doing this in Frontpage, you dont need to actually upload this onto the web. You could run the website straight off the local client. Is this what you will be doing?
 

Sharma

Can't get enough of FH
Joined
Dec 22, 2003
Messages
4,679
If it's a video, why not just Youtube it and copy the embedding tags it provides?

Massive headache averted and less bandwidth cost.
 

Laddey

FH is my second home
Joined
May 24, 2005
Messages
7,124
Im spreading as fast as i can!
647885.JPG


As you are doing this in Frontpage, you dont need to actually upload this onto the web. You could run the website straight off the local client. Is this what you will be doing?

Yeah, why the fuck do the college provide us with a tutor who knows fuck all, really, he knows shite all.

If it's a video, why not just Youtube it and copy the embedding tags it provides?

Massive headache averted and less bandwidth cost.

This is what i was thinking!!!

Welldone sharmer, great minds think alike!
 

old.Tohtori

FH is my second home
Joined
Jan 23, 2004
Messages
45,210
I thought it was clear that URL meant the net, not HDD.

But...guess not.

And if it's a video, why talk about something else? :eek6:
 

Gahn

Resident Freddy
Joined
Jan 16, 2004
Messages
5,056
"Video" refers to the Media Player Control :

<OBJECT id="VIDEO" width="320" height="240"
style="position:absolute; left:0;top:0;"
CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"
type="application/x-oleobject">

<PARAM NAME="URL" VALUE="your file or url">
<PARAM NAME="SendPlayStateChangeEvents" VALUE="True">
<PARAM NAME="AutoStart" VALUE="True">
<PARAM name="uiMode" value="none">
<PARAM name="PlayCount" value="9999">
</OBJECT>

This is treated pretty much as a Class, hence you have to give values to it's properties (one of them it's the Url one).
If you point it to a video it'll play a video, if u point it to a song, it'll play a song :eek:
 

Laddey

FH is my second home
Joined
May 24, 2005
Messages
7,124
I thought it was clear that URL meant the net, not HDD.

But...guess not.

And if it's a video, why talk about something else? :eek6:

Originally Posted by Thorondorito View Post
VIDEO.URL="filename" must be changed.

Try to put there the location of your mp3 file.

When he said location typically i think he means location on your HDD, if it was on the internet he would clearly state URL. Thats what i thought anyway.

Thanks Gayn!

How did Naruto end?

Get out my thread!!
 

old.Tohtori

FH is my second home
Joined
Jan 23, 2004
Messages
45,210
When he said location typically i think he means location on your HDD, if it was on the internet he would clearly state URL. Thats what i thought anyway.

Well that's what you get for not listening to me! :eek:
 

Users who are viewing this thread

Top Bottom