opening file in object player

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.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Program Your Website > JavaScript Forum

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Dec 2nd, 2007, 09:30
Junior Member
Join Date: Nov 2007
Location: Hong Kong
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Dec 2nd, 2007, 09:34
Marc's Avatar
Staff Manager

SuperMember
Join Date: Apr 2007
Location: Scotland, UK
Posts: 1,794
Thanks: 0
Thanked 17 Times in 17 Posts
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Dec 2nd, 2007, 09:55
Junior Member
Join Date: Nov 2007
Location: Hong Kong
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Re: opening file in object player

up one directory
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Dec 2nd, 2007, 09:56
Marc's Avatar
Staff Manager

SuperMember
Join Date: Apr 2007
Location: Scotland, UK
Posts: 1,794
Thanks: 0
Thanked 17 Times in 17 Posts
Re: opening file in object player

ok so can you try:

HTML: Select all
<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"/>

</object>
__________________
Marc
Staff Manager - Webforumz.com


Want to be a moderator? PM me.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old Dec 2nd, 2007, 09:58
Junior Member
Join Date: Nov 2007
Location: Hong Kong
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
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"
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old Dec 2nd, 2007, 10:04
Junior Member
Join Date: Nov 2007
Location: Hong Kong
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old Dec 2nd, 2007, 10:05
Marc's Avatar
Staff Manager

SuperMember
Join Date: Apr 2007
Location: Scotland, UK
Posts: 1,794
Thanks: 0
Thanked 17 Times in 17 Posts
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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


All times are GMT. The time now is 06:00.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42