Computer Talk Discussions here pertain to mods, troubleshooting, and PC/console gaming

Firefox help to view vids online

Thread Tools
 
Search this Thread
 
Old 12-23-2006, 08:55 AM
  #1  
Co-Founder/Administrator
Staff
Thread Starter
iTrader: (1)
 
Corey's Avatar
 
Join Date: May 2002
Location: Auburn, Washington
Posts: 32,242
Received 19 Likes on 15 Posts
Firefox help to view vids online

OK, I can view vids online perfectly when I click on hyperlinks.
The problem stems from when I host vids on my personal website.
For example, page two of my mods.

Down under the Ramsey Wireless Remote installation I have a short video I made last week.
It is the last link under the Ramsey write-up.
When I click on it, it takes me to a page full of code for the video, not good.
I looked under the file types used in Firefox's options, and all the other video types are listed there included WMA for audio, but not WMV for videos which I made my short video with.
I see no place to add that file type for online with Firefox.
Is there a way to add it?
Old 12-23-2006, 09:46 AM
  #2  
Registered User
 
midiwall's Avatar
 
Join Date: Dec 2002
Location: Seattleish, WA
Posts: 9,048
Likes: 0
Received 2 Likes on 2 Posts
Hey dude... The problem isn't Firefox, it's the way that the object (the video) is being tagged on the way down. Firefox is only doing what it's told, well technically, it's doing what it's NOT being told.

FF knows "WMV", but more importantly, it NEEDS to see it come down tagged as "video/x-ms-wmv", and the server that's hosting your video isn't doing that. The file is being sent down with a text tag, and FF is showing it as such.

Go here:
http://midiwall.com/4Runner/corey/

There are two links on that page... The first one is a pointer to the file as hosted on PNW4Runners, the second is to the file as hosted on midiwall. Clicking the first link gets you the file shown as text. The second link will get you something else - my system is setup to download the link instead of launch it, yours may launch the file. The point being that the second link will act different than the first, though there's nothing different in the HTML or the browser config.

You need to talk to Scott about setting the tags for WMV files - that's a config option on the server side.
Old 12-23-2006, 10:23 AM
  #3  
Co-Founder/Administrator
Staff
Thread Starter
iTrader: (1)
 
Corey's Avatar
 
Join Date: May 2002
Location: Auburn, Washington
Posts: 32,242
Received 19 Likes on 15 Posts
Hmmm, Scott is not my host anymore for my site, it is on our old YT host.
However, Internet Explorer can open it just fine.
It plays perfectly and opens up the Windows Media Player and starts the vid after buffering it all the way.
Old 12-23-2006, 10:32 AM
  #4  
Registered User
 
midiwall's Avatar
 
Join Date: Dec 2002
Location: Seattleish, WA
Posts: 9,048
Likes: 0
Received 2 Likes on 2 Posts
Originally Posted by Corey
However, Internet Explorer can open it just fine.
It plays perfectly and opens up the Windows Media Player and starts the vid after buffering it all the way.
I understand, but that's IE ignoring the object tags and keying only off of the extension. It may seem like a convenience, but it's one of PITA security issues with IE.

Think about it... Someone pushes up a file with an extension of "WMV" but they've found an exploit in IE where the WMV launcher may crash if it tries to handle certain data. IE will look at the extension, ignore the tags, pass it off to the launcher and _bam_, you're crashed.

This is why the file tags are so important, and why they're a server-side configuration.
Old 12-23-2006, 10:37 AM
  #5  
Co-Founder/Administrator
Staff
Thread Starter
iTrader: (1)
 
Corey's Avatar
 
Join Date: May 2002
Location: Auburn, Washington
Posts: 32,242
Received 19 Likes on 15 Posts
Thanks Mark, I will contact the host.
Old 12-23-2006, 10:40 AM
  #6  
Registered User
 
midiwall's Avatar
 
Join Date: Dec 2002
Location: Seattleish, WA
Posts: 9,048
Likes: 0
Received 2 Likes on 2 Posts
Cool dude. Let us know what happens!
Old 12-23-2006, 10:43 AM
  #7  
Co-Founder/Administrator
Staff
Thread Starter
iTrader: (1)
 
Corey's Avatar
 
Join Date: May 2002
Location: Auburn, Washington
Posts: 32,242
Received 19 Likes on 15 Posts
I will, I fired off a letter.
Might be an adjustment in the Plesk panel, but I never got my login info for that when Scott moved me over to them a few months back.
Old 12-24-2006, 02:40 PM
  #8  
Registered User
 
ldivinag's Avatar
 
Join Date: Dec 2003
Location: N37 39* W122 3*
Posts: 1,526
Likes: 0
Received 0 Likes on 0 Posts
you can always create an ".htaccess" file on the root of the site with

AddType audio/x-ms-wma .wma
AddType audio/x-ms-wax .wax
AddType video/x-ms-asf .asf
AddType video/x-ms-asx .asx
AddType video/x-ms-wmv .wmv
AddType video/x-ms-wvx .wvx
AddType video/x-ms-wmx .wmx
as the stuff in it...

btw, the apache admin could turn off .htaccess files to you, so if you make one and it doesnt seem to work, could be that is the case...

Last edited by ldivinag; 12-24-2006 at 02:46 PM.
Old 12-24-2006, 02:43 PM
  #9  
Registered User
 
ldivinag's Avatar
 
Join Date: Dec 2003
Location: N37 39* W122 3*
Posts: 1,526
Likes: 0
Received 0 Likes on 0 Posts
Originally Posted by midiwall
I understand, but that's IE ignoring the object tags and keying only off of the extension. It may seem like a convenience, but it's one of PITA security issues with IE.

Think about it... Someone pushes up a file with an extension of "WMV" but they've found an exploit in IE where the WMV launcher may crash if it tries to handle certain data. IE will look at the extension, ignore the tags, pass it off to the launcher and _bam_, you're crashed.

This is why the file tags are so important, and why they're a server-side configuration.

and this, boys and grills, why IE needs to follow rules, instead of making their own up...

people at work ask me why i dislike IE 6 and below so much...
Old 12-24-2006, 02:49 PM
  #10  
Co-Founder/Administrator
Staff
Thread Starter
iTrader: (1)
 
Corey's Avatar
 
Join Date: May 2002
Location: Auburn, Washington
Posts: 32,242
Received 19 Likes on 15 Posts
Thanks Leo.
I am running one now to make my table of contents to appear on each page, it uses this code.
Options +Indexes
AddType text/html .shtml .htm .html
AddHandler server-parsed .shtml .htm .html .txt
For some reason I can not view the .htaccess file in Filezilla, but I know it is there.
The . in it I am sure is making the file invisable.
Now on the server here I use to be able to view the .ht files in Filezilla, but not anymore.
Scott our host must have changed something so they no longer show.

If I create a new one, would I just add your text to the one I have now?

The
Options +Indexes
part of the above one is to make all of my folders viewable so I can see the URLs to the files to post them in forums.
Old 12-24-2006, 02:55 PM
  #11  
Registered User
 
ldivinag's Avatar
 
Join Date: Dec 2003
Location: N37 39* W122 3*
Posts: 1,526
Likes: 0
Received 0 Likes on 0 Posts
that's becuase filezilla cant see files without a regular filename... IIRC.

go the VIEW menu -> SHOW HIDDEN FILES...
Old 12-24-2006, 03:33 PM
  #12  
Co-Founder/Administrator
Staff
Thread Starter
iTrader: (1)
 
Corey's Avatar
 
Join Date: May 2002
Location: Auburn, Washington
Posts: 32,242
Received 19 Likes on 15 Posts
Marvelous, simply marvelous
Clicked on show hidden files, and it found it in one of my folders for my old 4Runner site.
I guess I am not using one for the FJC site.

Options +Indexes
AddType text/html .shtml .htm .html
AddHandler server-parsed .shtml .htm .html .txt

I will try making the one you have and put it in the root later.
Thanks Leo
Old 12-24-2006, 05:16 PM
  #13  
Co-Founder/Administrator
Staff
Thread Starter
iTrader: (1)
 
Corey's Avatar
 
Join Date: May 2002
Location: Auburn, Washington
Posts: 32,242
Received 19 Likes on 15 Posts
Heeeeeee haaaaaaaaw :xmas7:
It works Leo!
http://www.pnw4runners.com/temp/wmv_works.jpg

As soon as I clicked on one of my WMV files, FIrefox prompts me to do an action.
I will probably just leave it as is so I can either view it inline or save it to the PC.

My host should see this, they have the link to this thread in a ticket I turned in.

Thanks a lot for the help guy's.
Old 12-24-2006, 06:36 PM
  #14  
Registered User
 
midiwall's Avatar
 
Join Date: Dec 2002
Location: Seattleish, WA
Posts: 9,048
Likes: 0
Received 2 Likes on 2 Posts
Originally Posted by ldivinag
that's becuase filezilla cant see files without a regular filename... IIRC.
Actually, in Linux, a filename that has a leading "." is defined as being hidden. i.e., it's not that its "irregular", it's that it's purposely defined as "hidden".

Which you cover...
go the VIEW menu -> SHOW HIDDEN FILES...
...there!
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
ashamsuddin
General Vehicle Related Topics (Non Year Related)
17
01-13-2023 03:17 AM
primordialbeast117
86-95 Trucks & 4Runners
11
12-19-2015 12:23 PM
voiddweller
Newbie Tech Section
4
10-02-2015 07:47 AM
hiluxinargentina
86-95 Trucks & 4Runners
3
09-30-2015 05:51 PM
PNW94Runner
86-95 Trucks & 4Runners
3
09-29-2015 02:55 PM



Quick Reply: Firefox help to view vids online



All times are GMT -8. The time now is 08:37 PM.