Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I register this protocal?

Status
Not open for further replies.

specter333

Technical User
Jun 16, 2007
16
US
Hello again, this forum has proven invaluable over the last few weeks. Now here's my third problem.

This problem is after losing and hard drive and setting all my programs up again from scratch (see my first post) one is giving me problems.

The short version is I use an html line to call an M3U file to play media on my machine. I'm not streaming just playing files.

I have reinstalled my program and restored the back ups which got me back to where I was, I think, but now when I click on the link to the media nothing happens. I copied the page over and opened it in Firefox (the program uses IE) and I get this error message.

"Firefox doesn't know how to open this address, because the protocol (j) isn't associated with any program."

"j" must stand for my j: drive because that is where the M3U files are stored. The M3U files are registered to VLC media player and when I double click one it works fine but not from a link.

Just in case the backup didn't restore the actual working html file I was using (It took me a few tries to get the code working" here is the link.

"<p align="CENTER"><font face="HeartOfStone"><font size="+4"><a href="J:\DVD Playlist\Sahara.m3u">Sahara</p>"

The program tags automatically insert the movie names into the webpage and as I said before this used to work well.

Thinking that maybe .m3u itself wasn't registered correctly I downloaded Winamp hoping that may help. It didn't.

So is it my code or some registry back up I'm missing?

Thanks again, the forum has made my life easier. Rich
 
"<p align="CENTER"><font face="HeartOfStone"><font size="+4"><a href="J:\DVD Playlist\Sahara.m3u">Sahara</p>"

should read:

"<p align="CENTER"><font face="HeartOfStone"><font size="+4"><a href="file:///J:\DVD Playlist\Sahara.m3u">Sahara</p>"

then it should work with FF...

Ben

"If it works don't fix it! If it doesn't use a sledgehammer..."
 
The reason:
J:/ is interpreted as a Protocol, like " or "FTP://", and because it is a LOCAL ADRESS you need to tell the browser that it is a FILE by using the "FILE://" prefix... :)

PS: the above only needs two (2) / as it adds the third automatically, if you enter 3 / that is fine also...


Ben

"If it works don't fix it! If it doesn't use a sledgehammer..."
 
Hi Ben, thanks for the info.

That got it working in Firefox but now Internet Explorer says "The page cannot be displayed" but shows the link in the address bar. When I press the Go button then it plays the media. Is this an IE setting?

The program uses IE so I need to get it working there too.

Thanks Rich
 
No, for IE there is either a '/' too many or missing one... try that...


Ben

"If it works don't fix it! If it doesn't use a sledgehammer..."
 
nevermind my last answer, now that I am at home, I had little test using IE7, and it works aswell...



Ben

"If it works don't fix it! If it doesn't use a sledgehammer..."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top