office-gobmx/include/comphelper
Michael Stahl a5225ba82e avmedia,*: guess the mime type of media files based on file name
.. at least for the most popular types, and do it automatically in
MediaItem::setURL().

This should work in practice in most cases and is much simpler than
adding some type detection or calling into platform dependent avmedia
backends.

Remove the parameter that was only ever set to
"application/vnd.sun.star.media" anyway, the same value that would be
used if it's missing.

Stop using that silly type for everything, only use it when guessing
fails.

In case an ODF document is loaded, it will use the mime type loaded from
the file (see setting of MediaMimeType in SdXMLPluginShapeContext) and
not guess it because that would require updating the entry in
manifest.xml as well.

Change-Id: I8ce29cf7425678ae11dda1d8c875be818f8623af
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150049
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2023-04-05 14:34:51 +02:00
..
accessiblecomponenthelper.hxx
accessiblecontexthelper.hxx
accessibleeventnotifier.hxx
AccessibleImplementationHelper.hxx
accessiblekeybindinghelper.hxx
accessibleselectionhelper.hxx
accessibletexthelper.hxx
accessiblewrapper.hxx
anycompare.hxx
anytohash.hxx
anytostring.hxx
asyncnotification.hxx
asyncquithandler.hxx
attributelist.hxx
automationinvokedzone.hxx
backupfilehelper.hxx
base64.hxx
basicio.hxx
broadcasthelper.hxx
bytereader.hxx
ChainablePropertySet.hxx
ChainablePropertySetInfo.hxx
classids.hxx
compbase.hxx
comphelperdllapi.h
componentbase.hxx
componentguard.hxx
configuration.hxx
configurationhelper.hxx
configurationlistener.hxx
container.hxx
containermultiplexer.hxx
crashzone.hxx
date.hxx
debuggerinfo.hxx
diagnose_ex.hxx
DirectoryHelper.hxx
dispatchcommand.hxx
docpasswordhelper.hxx
docpasswordrequest.hxx
documentconstants.hxx
documentinfo.hxx
doublecheckedinit.hxx
embeddedobjectcontainer.hxx
enumhelper.hxx
errcode.hxx
eventattachermgr.hxx
evtlistenerhlp.hxx
evtmethodhelper.hxx
extract.hxx
fileformat.h
fileurl.hxx
flagguard.hxx
genericpropertyset.hxx
getexpandeduri.hxx
graphicmimetype.hxx
guarding.hxx
hash.hxx
IdPropArrayHelper.hxx
indexedpropertyvalues.hxx
interaction.hxx
interfacecontainer2.hxx
interfacecontainer3.hxx
interfacecontainer4.hxx
logging.hxx
lok.hxx
make_shared_from_uno.hxx
MasterPropertySet.hxx
MasterPropertySetInfo.hxx
mediamimetype.hxx avmedia,*: guess the mime type of media files based on file name 2023-04-05 14:34:51 +02:00
mimeconfighelper.hxx
multicontainer2.hxx
multiinterfacecontainer3.hxx
multiinterfacecontainer4.hxx
namecontainer.hxx
namedvaluecollection.hxx
newarray.hxx
numberedcollection.hxx
numbers.hxx
ofopxmlhelper.hxx
oslfile2streamwrap.hxx
parallelsort.hxx
processfactory.hxx
profilezone.hxx
propagg.hxx
proparrhlp.hxx
property.hxx
propertybag.hxx
propertycontainer.hxx
propertycontainerhelper.hxx
PropertyInfoHash.hxx
propertysequence.hxx
propertysethelper.hxx
propertysetinfo.hxx
propertystatecontainer.hxx
propertyvalue.hxx
propmultiplex.hxx
propmultiplex2.hxx
propshlp.hxx remove IEventNotificationHook from comphelper::OPropertySet 2023-04-02 21:13:59 +02:00
propstate.hxx
proxyaggregation.hxx
random.hxx
refcountedmutex.hxx
scopeguard.hxx
seekableinput.hxx
SelectionMultiplex.hxx
seqstream.hxx
sequence.hxx
sequenceashashmap.hxx
servicedecl.hxx
servicehelper.hxx
SetFlagContextHelper.hxx
sharedmutex.hxx
simplefileaccessinteraction.hxx
singletonref.hxx
solarmutex.hxx
stillreadwriteinteraction.hxx
stl_types.hxx
storagehelper.hxx
streamsection.hxx
string.hxx
synchronousdispatch.hxx
syntaxhighlight.hxx
threadpool.hxx
traceevent.hxx
types.hxx
unique_disposing_ptr.hxx
uno3.hxx
unoimplbase.hxx
unwrapargs.hxx
weakbag.hxx
weakeventlistener.hxx
windowsdebugoutput.hxx
windowserrorstring.hxx
windowsStart.hxx
xmlsechelper.hxx
xmltools.hxx