This is a discussion on "opening file in object player" within the JavaScript Forum section. This forum, and the thread "opening file in object player are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
opening file in object player
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
opening file in object player
<object type="application/x-mplayer2"
data="../audio/75743899.mp3" width="200" height="50" standby= "ready to play ..." > <param name="autoplay" value="true"/> <param name="src" value="../audio/75743899.mp3" valuetype ="data"/> Plug-in not found - Please install </object> why is it that i could only open file as "75743899.mp3" but not "../audio/75743899.mp3" ? isn't that the way to open files in other directory? |
|
|
|
#2
|
||||
|
||||
|
Re: opening file in object player
Is the 'audio' file in the same directory as the file that contains that code?
__________________
Marc Staff Manager - Webforumz.com Want to be a moderator? PM me. |
|
#3
|
|||
|
|||
|
Re: opening file in object player
up one directory
|
|
#4
|
||||
|
||||
|
Re: opening file in object player
ok so can you try:
__________________
Marc Staff Manager - Webforumz.com Want to be a moderator? PM me. |
|
#5
|
|||
|
|||
|
Re: opening file in object player
i mean
this code is in a file that's in the "project" folder the "audio" folder and the "project" folder are under the same directory say folder "a" |
|
#6
|
|||
|
|||
|
Re: opening file in object player
done!
i moved the whole "audio" folder into the "project" folder and used data="audio/75743899.mp3" and it played alright! Thanks very much! |
|
#7
|
||||
|
||||
|
Re: opening file in object player
Your code should work then. Have you tried the full route to see if it is your code is correct? e.g. other directorys here on the way to 'a'/a/audio/75743899.mp3
EDIT: Congrats!!
__________________
Marc Staff Manager - Webforumz.com Want to be a moderator? PM me. |
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Asp not opening! | aspcam | Classic ASP | 2 | Jul 26th, 2007 22:38 |
| How to make XML file work with slide show player | OmiE | Starting Out | 0 | Jun 4th, 2007 21:49 |
| problem with opening IE | uddin | Web Page Design | 5 | Mar 29th, 2007 15:26 |
| File system object | madhuri.t | Classic ASP | 1 | Feb 20th, 2006 12:57 |
| FSO (File System Object) Performance | spinal007 | Classic ASP | 17 | Mar 16th, 2005 18:03 |