HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


[PARTIALLY RESOLVED] - How to disable use of QT in FF by ocP

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#63852 (In Topic #13790)
Avatar

Community saint

I would like to disable QT from snatching the display of audio files when I run ocP in FF. I have tried resetting the display options for the browser to choose WMP as the default, but when I disable the QT plugin I get a display that doesn't show ANY player (which obviously means the file can't be played at all).



In a gallery these are the two distinct displays I get for FF and IE. Obviously, I prefer the IE display, and that is why I am trying to activate it in FF. No luck so far.



Worse, when I try to use the 'attachment' method to display a music file in a forum post, this is what I get. Once again, I prefer the IE display.



Any insight, or words of wisdom would be appreciated.

 :thumbs:

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#63854
Avatar

The GALLERY_VIDEO_GENERAL template tries Windows media player first, then falls back to whatever the browser is set too. But on Firefox I suspect it doesn't use WMP because it skips object tags that use a 'classid' to specify the plugin. This is all a huge pain, the incompatibilities between browsers, plugins, container formats, and codecs is unbelievable.
You can try hacking that template around, maybe you can force it by adding some extra code in there somehow.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#63883
Avatar

Community saint

Workaround maybe: Download the Windows Media Player Firefox Plugin - Port 25: The Open Source Community at Microsoft

Unfortunately, that won't do much for visitors to your site.

"no violence, no hate, no pain, no enemies
just peace, unity, tolerance and love" - The Beloved

OCP V7 | Advocating monetary reform - FreeOurMoney

Need OCP friendly hosting? Look no further:
Web Hosting, Reseller Hosting, and Dedicated Servers w/cPanel - Elief! - Official hosting partner for ocPortal.
Back to the top
 
Posted
Rating:
#63886
Avatar

Community saint

SoccerDad said

Unfortunately, that won't do much for visitors to your site.

And thereby hangs the tale (or is that tail?)!

I've uninstalled, reinstalled, edited 'about:config' and 'about:plugins, searched the web for a solution, and still come up short!

It appears that FF will NEVER allow WMP to play MP3s, because the Windows plugin for FF doesn't have MP3 as one of its extensions, and that is that!

I use 'AnarchyMedia' for other instances when I want audio (and somtimes video) files to be inserted 'in-line' in my posts, so I'll have a look at how I can incorporate it into the Gallery. However, that might be beyond my pay grade.

I think I can overcome the problem in the forums by building a custom Comcode tag. Done it for vids ([vid]{content}[/vid], what else?), so I'll be brave and have a crack at building a tag for audio, too!

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#63893
Avatar

Community saint

Update on the above:

Managed to crack a custom Comcode tag so that my users can simply insert a link to an MP3 between two Comcode tags so that it displays and plays by clicking on a custom-built button. This method references the 'AnarchyMedia' js and neatly sidesteps the FF insistence on using QT to play audio.

Not sure of the ethics of this, as it is obviously leaching somebody else's bandwith. I built it for ME mainly, so I'll let my (FEW) users try it out, and if it appears they are excessively stealing bandwidth from others, I shall disable the tag.




It appears that there really are very few limits to what you can build into a custom Comcode tag to make life easier for the webmaster and his/her users!

 :thumbs:

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#63894
Avatar

Community saint

Good job Fletch!

"no violence, no hate, no pain, no enemies
just peace, unity, tolerance and love" - The Beloved

OCP V7 | Advocating monetary reform - FreeOurMoney

Need OCP friendly hosting? Look no further:
Web Hosting, Reseller Hosting, and Dedicated Servers w/cPanel - Elief! - Official hosting partner for ocPortal.
Back to the top
 
Posted
Rating:
#63900
Avatar

Community saint

Looks nice, clean, and easy on the user, Fletch!:thumbs:

Hope you will eventually post it to the community documentation as a good example for such function code.
Back to the top
 
Posted
Rating:
#63903
Avatar

Community saint

I can certainly do that Jean, but I am a bit reticent about adding to the documentation to 'encourage' users to start slapping on 'extras' without first investigating the security integrity of the add-on.

I'll take a really close look at the AnarchyMedia script, as I already know that the author has commented that, "… if you are paranoid you can control access via your .htaccess file."

That sort of troubles me a bit, that even the author might think that his script is vulnerable!

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#63910
Avatar

Community saint

Fletch said

I can certainly do that Jean, but I am a bit reticent about adding to the documentation to 'encourage' users to start slapping on 'extras' without first investigating the security integrity of the add-on.

I'll take a really close look at the AnarchyMedia script, as I already know that the author has commented that, "… if you are paranoid you can control access via your .htaccess file."

That sort of troubles me a bit, that even the author might think that his script is vulnerable!
Understood!
Better be on the side of caution on this one:ninja:
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: