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

Firefox help to view vids online

Thread Tools
 
Search this Thread
 
Old Dec 23, 2006 | 08:55 AM
  #1  
Corey's Avatar
Thread Starter
Co-Founder/Administrator
iTrader: (1)
 
Joined: May 2002
Posts: 32,242
Likes: 21
From: Auburn, Washington
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?
Reply
Old Dec 23, 2006 | 09:46 AM
  #2  
midiwall's Avatar
Registered User
 
Joined: Dec 2002
Posts: 9,048
Likes: 2
From: Seattleish, WA
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.
Reply
Old Dec 23, 2006 | 10:23 AM
  #3  
Corey's Avatar
Thread Starter
Co-Founder/Administrator
iTrader: (1)
 
Joined: May 2002
Posts: 32,242
Likes: 21
From: Auburn, Washington
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.
Reply
Old Dec 23, 2006 | 10:32 AM
  #4  
midiwall's Avatar
Registered User
 
Joined: Dec 2002
Posts: 9,048
Likes: 2
From: Seattleish, WA
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.
Reply
Old Dec 23, 2006 | 10:37 AM
  #5  
Corey's Avatar
Thread Starter
Co-Founder/Administrator
iTrader: (1)
 
Joined: May 2002
Posts: 32,242
Likes: 21
From: Auburn, Washington
Thanks Mark, I will contact the host.
Reply
Old Dec 23, 2006 | 10:40 AM
  #6  
midiwall's Avatar
Registered User
 
Joined: Dec 2002
Posts: 9,048
Likes: 2
From: Seattleish, WA
Cool dude. Let us know what happens!
Reply
Old Dec 23, 2006 | 10:43 AM
  #7  
Corey's Avatar
Thread Starter
Co-Founder/Administrator
iTrader: (1)
 
Joined: May 2002
Posts: 32,242
Likes: 21
From: Auburn, Washington
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.
Reply
Old Dec 24, 2006 | 02:40 PM
  #8  
ldivinag's Avatar
Registered User
 
Joined: Dec 2003
Posts: 1,526
Likes: 0
From: N37 39* W122 3*
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; Dec 24, 2006 at 02:46 PM.
Reply
Old Dec 24, 2006 | 02:43 PM
  #9  
ldivinag's Avatar
Registered User
 
Joined: Dec 2003
Posts: 1,526
Likes: 0
From: N37 39* W122 3*
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...
Reply
Old Dec 24, 2006 | 02:49 PM
  #10  
Corey's Avatar
Thread Starter
Co-Founder/Administrator
iTrader: (1)
 
Joined: May 2002
Posts: 32,242
Likes: 21
From: Auburn, Washington
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.
Reply
Old Dec 24, 2006 | 02:55 PM
  #11  
ldivinag's Avatar
Registered User
 
Joined: Dec 2003
Posts: 1,526
Likes: 0
From: N37 39* W122 3*
that's becuase filezilla cant see files without a regular filename... IIRC.

go the VIEW menu -> SHOW HIDDEN FILES...
Reply
Old Dec 24, 2006 | 03:33 PM
  #12  
Corey's Avatar
Thread Starter
Co-Founder/Administrator
iTrader: (1)
 
Joined: May 2002
Posts: 32,242
Likes: 21
From: Auburn, Washington
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
Reply
Old Dec 24, 2006 | 05:16 PM
  #13  
Corey's Avatar
Thread Starter
Co-Founder/Administrator
iTrader: (1)
 
Joined: May 2002
Posts: 32,242
Likes: 21
From: Auburn, Washington
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.
Reply
Old Dec 24, 2006 | 06:36 PM
  #14  
midiwall's Avatar
Registered User
 
Joined: Dec 2002
Posts: 9,048
Likes: 2
From: Seattleish, WA
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!
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
ashamsuddin
General Vehicle Related Topics (Non Year Related)
17
Jul 22, 2024 03:59 AM
primordialbeast117
86-95 Trucks & 4Runners
11
Dec 19, 2015 12:23 PM
voiddweller
Newbie Tech Section
4
Oct 2, 2015 07:47 AM
hiluxinargentina
86-95 Trucks & 4Runners
3
Sep 30, 2015 05:51 PM
PNW94Runner
86-95 Trucks & 4Runners
3
Sep 29, 2015 02:55 PM




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