Mime type issues: x-directory/normal vs. inode/directory

Sorry for the long post. If you have no time, just read the third paragraph, starting with "Of course..."
I am using KDE and I have a problem with the mime types for directories. As Gnome, too, KDE manages mime types itself to offer easy customizability by means of GUIs. Obviously, KDE programs natively adhere to these settings. When a non-KDE application wants to open a file of a certain mime type, it should call "xdg-open" which checks for the desktop environment and the calls the "kde-open" script to use KDE's own mime type hierarchy. However, when a program does not call "xdg-open", the (by now ancient) /usr/share/applications/mimeinfo.cache is read. This file is created by /usr/bin/update-desktop-database, which is executed in many PKGBUILDs (well, actually the .install files) to update mime information after installation.
The problem I am running into is that Zotero, a Firefox extension for bibliography management, does not open Dolphin, KDE's file manager, but EasyTag, a music file ID tag editor whenever a folder is supposed to be opened. A quick look at /usr/share/applications/mimeinfo.cache shows that Dolphin is registered as an application for the mime type "inode/directory", but not for "x-directory/normal", for which EasyTag is registered. Simply adding Dolphin as the first app in the array for "x-directory/normal" solves the problem, but only until the next update of a program calling /usr/bin/update-desktop-database. I thus wrote an alias command to call a selfmade script which uses sed to rectify this after each call of update-desktop-database.
Of course, this is not a nice solution. Thus my question (Google didn't help much): What is the standard mime type for directories? AFAICT, it should be "inode/directory", but what, then, does "x-directory/normal" do and why is it used? What should the solution be? Should Dolphin register the additional mime type?
I suspect an error on behalf of the KDE devs as I just realized that a few other KDE programs don't claim certain mime types, either: Okular does not claim "application/pdf". The GIMP, however, does, even though it cannot handle this mime type.
Thanks for your patience.

skottish wrote:You can override the system level mimeinfo.cache with your own copy in ~/.local/share/applications. Only put in the stuff that you want; There's need to copy the whole file.
An even better workaround. Nice!
skottish wrote:Slightly off topic, but GIMP can open PDF files.
Not here: "Opening '/home/user/test.pdf' failed: Unknown file type"
Last edited by mutlu_inek (2009-08-08 21:49:37)

Similar Messages

  • MIME type issue in version 4.1/4.2 Compatibility Mode

    Problem: when displaying a PDF file, it displays OK as PDF if APEX 'Compatability Mode' = 'Pre 4.1', but displays as HTML when in either '4.1' or '4.2' mode.
    Apex: 4.2.2.00.11
    DB: 11gr2
    Web server: Apache on Linux
    More detailed description... this seems to be a MIME type issue related to APEX (or maybe DB) versioning.  The following code works as expected when run in 'Pre 4.1' mode - ie. it displays an appropriate PDF document in the appropriate Acrobat/other plugin in several browsers (Firefox/Opera/Chrome/IE).  But just by changing 'Compatability Mode' to '4.2' (or even '4.1'), it then downloads the file but displays it as a bunch of random characters, and the web page header MIME type is 'text/HTML'.
    Note: this also happens with other file types such as xls/doc/etc, but I expect fixing PDF should also fix these.
    I'm at a bit of a loss as to where this is happening, it seems there is a difference in the 'Compatibility Modes' between either the creating of the HTML header using 'OWA_UTIL.mime_header' or the component path it traverses before reaching apache.
    The only other thing I could think of is that we do a bit of redirection to display the PDF, though this seems like it might be a red herring.  Basically we use page 560 as a container, and then display the PDF with page 561 within a frame embeded within page 560.  So, on the page 560, which is the one we reference throughout the application, we have  a region with a source of '&lt;iframe src=?p=&APP_ID.:561:&SESSION.height="500" width="700"&gt&lt;/iframe&gt</pre>'.  Then on page 561, in a 'On Load - Before Header' process, we make the call to the code 'DOWNLOAD_APPLICANT_PDF' (below).
    Note: I did try calling 'apex_application.stop_apex_engine' after 'DOWNLOAD_APPLICANT_PDF', as suggested in a couple threads, but it didn't fix the problem, and caused a couple low-level system errors.
    Code:
    <pre>
      CREATE OR REPLACE PROCEDURE DOWNLOAD_APPLICANT_PDF ( p_doc_id IN   NUMBER
       AS
          v_length      NUMBER;
          lob_loc       BLOB;
          l_display_inline   CHAR := '1';
       BEGIN
          SELECT pdf_data, DBMS_LOB.getlength (pdf_data)
            INTO lob_loc, v_length
            FROM pdf_dest
           WHERE pdf_dest_id = p_doc_id;
          OWA_UTIL.mime_header ('application/pdf', FALSE);
          HTP.p ('Content-length: ' || v_length);
          HTP.p ('Content-Disposition:inline;filename="mydoc.pdf"');
          OWA_UTIL.http_header_close;
          WPG_DOCLOAD.download_file (lob_loc);
    END;
    </pre>

    Hi,
    for some background information about the above changed behavior, have a look at 4.2 Before Header Processes and Browser Security HTTP Headers of the APEX 4.1. release notes.
    Regards
    Patrick
    Member of the APEX development team
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • MIME-type issue???

    I have installed WLS 6.1 and have placed my index.html file in the
    applications/DefaultWebApp_myserver. Everything works fine. For
    organizational purposes, I want to place all of my documentation in
    DefaultWebApp_myserver/doc. When I display a MS Word document (IE 6),
    within the /doc subfolder, the document displays as ascii text. However, if
    I place the document in the DefaultWebApp_myserver folder, it displays
    correctly as a Word document.
    Additionally, Excel (xls) documents display as ascii/text regardless of
    their location.
    Any ideas or suggestions would be greatly appreciated.
    Thanks
    Jed Zimmer

    Kumar,
    I've tried all combinations of the following with no luck:
    Extensions:
    <extension>.doc</extension>
    <extension>doc</extension>
    <extension>DOC</extension>
    MIME-types:
    <mime-type>application/winword</mime-type>
    <mime-type>application/msword</mime-type>
    <mime-type>application/ms-word</mime-type>
    I restarted the web server after clicking the "persist" button from the web
    descriptor page. My directory structure is as follows:
    Root location: .../mydomain/applications/DefaultWebApp_myserver
    Doc location: .../mydomain/applications/DefaultWebApp_myserver/doc
    Location of web.xml:
    .../mydomain/applications/DefaultWebApp_myserver/WEB-INF
    Once again, viewing a Word document, located in the root location, works
    fine. Viewing a Word document in the /doc subdirectory displays as ascii
    text.
    Thanks again for your help.
    Jed Zimmer
    "Kumar Allamraju" <[email protected]> wrote in message
    news:[email protected]..
    you should define the following mime-type in your web.xml
    <mime-mapping>
    <extension>doc</extension>
    <mime-type>application/ms-word</mime-type>
    </mime-mapping>
    Kumar
    Jed Zimmer wrote:
    I have installed WLS 6.1 and have placed my index.html file in the
    applications/DefaultWebApp_myserver. Everything works fine. For
    organizational purposes, I want to place all of my documentation in
    DefaultWebApp_myserver/doc. When I display a MS Word document (IE 6),
    within the /doc subfolder, the document displays as ascii text.
    However, if
    I place the document in the DefaultWebApp_myserver folder, it displays
    correctly as a Word document.
    Additionally, Excel (xls) documents display as ascii/text regardless of
    their location.
    Any ideas or suggestions would be greatly appreciated.
    Thanks
    Jed Zimmer

  • Mime Type issue with .docx Files in Apex 4.0

    We are having issues with windows 2007 .docx documents that are when they are viewed on windows 2007 machines with ie8. If I look in the storage table the mime type is not set correctly. It is being set as application/octet-stream. When we download the file one windows 7/IE8 either the browser thinks it is a zip file or it does not recognize it.
    If I go into the back end and update the table with the correct mime type application/vnd.openxmlformats-officedocument.wordprocessingml.document it works fine.
    We have tried to update mime types on the apache server but this does not help.
    Apex seems to be deciding what mime type to populate the table with.
    It seems like I need to update apex somehow to recognize that a .docx extension should be stored as type mime type application/vnd.openxmlformats-officedocument.wordprocessingml.document.
    Does anyone know how I would do this?
    We are running Apex 4 on 10g IAS with mod/plsql
    are application is setup very similar to what is describe in this document by David Peak
    http://www.oracle.com/technetwork/issue-archive/2009/09-jan/o19browser-087025.html
    Edited by: user7660930 on Apr 18, 2011 7:40 AM

    I thought about trying to do something similar to the code above but would prefer that apex would work properly.
    I created a page with the sql region and added this code
    owa_util.print_CGI_ENV
    when I run it it shows the following environment variables. It look like the WebDB environment HTTP_ACCEPT value needs to be updated. Does any one know how to update this information on a 10gIAS server and were it is stored? I have some documenation on WebDB but none of it seems to point to the correct location of the files and there are no admin pages
    PLSQL_GATEWAY = WebDb
    GATEWAY_IVERSION = 2
    SERVER_SOFTWARE = Oracle-Application-Server-10g/10.1.2.2.0 Oracle-HTTP-Server
    GATEWAY_INTERFACE = CGI/1.1
    SERVER_PORT = 4445
    SERVER_NAME = admsunxapp04.ad.jocoks.com
    REQUEST_METHOD = GET
    QUERY_STRING = p=301:1:3167922978599440:::::
    PATH_INFO = /f
    SCRIPT_NAME = /pls/apex/sand
    REMOTE_ADDR = 172.16.14.100
    SERVER_PROTOCOL = HTTP/1.1
    REQUEST_PROTOCOL = HTTPS
    REMOTE_USER = APEX_PUBLIC_USER
    HTTP_USER_AGENT = Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; Tablet PC 2.0)
    HTTP_HOST = admsunxapp04.ad.jocoks.com:4445
    HTTP_ACCEPT = image/jpeg, application/x-ms-application, image/gif, application/xaml+xml, image/pjpeg, application/x-ms-xbap, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
    HTTP_ACCEPT_ENCODING = gzip, deflate
    HTTP_ACCEPT_LANGUAGE = en-US
    HTTP_ORACLE_ECID = 1303315270:172.16.2.9:3032:0:2526,0
    WEB_AUTHENT_PREFIX =
    DAD_NAME = apex/sand
    DOC_ACCESS_PATH = docs
    DOCUMENT_TABLE = wwv_flow_file_objects$
    PATH_ALIAS =
    REQUEST_CHARSET = AL32UTF8
    REQUEST_IANA_CHARSET = UTF-8
    SCRIPT_PREFIX = /pls
    HTTP_COOKIE = ORA_WWV_R1=%23ALL; ORA_WWV_R2=%23ALL; ORA_WWV_R3=%23ALL; ORA_WWV_ATTRIBUTE_PAGE=4651%2C%23ALL; ORA_WWV_REMEMBER_UN=ADMIN:apex_app; ORA_WWV_USER=8A32E6579024A4F4; oracle.uix=0^^GMT-5:00; DEVL=WaSkGBNfJ6-Vgpw-6HXpHvM8:S

  • Ristretto or maybe generic mime.types issue: case of file extension?

    Good day.
    Ristretto (the XFCE image viewer) wouldn't recognize the .TIF files I copied over from a Windows partition until I renamed them to .tif. Lowercase .tiff and .tif are indeed the only two file extensions that are mentioned for image/tiff in /etc/mime.types but I thought this was somewhat unexpected (and unwanted).
    Is it a per-app decision whether or not to do case-sensitive extension compares? Is it a problem? And if so, in mime.types or in ristretto?
    Regards,
    Rene

    Hi,
    for some background information about the above changed behavior, have a look at 4.2 Before Header Processes and Browser Security HTTP Headers of the APEX 4.1. release notes.
    Regards
    Patrick
    Member of the APEX development team
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • CLM Mail MIME Type Issue

    Users are entering special characters in the instructions to the signatory, and when the string is picked up into the custom email, the system is mis-translating the characters in the CLM.We suspect on the custom java mail util not setting up the MIME Type.
    Any help would advise on this

    In custom email, you manually set the content type. Here is an example:
    msg.setContent(txt,"text/html");
    where txt is the formatted string.
    and msg is of type MimeMessage.
    Incase you are using the method "setText", change it as shown above and it should work fine
    Regards,
    Immanuel

  • [svn] 1607: Set svn:mime-type and svn: eol-style on LICENSE and NOTICE files in the lib directory.

    Revision: 1607
    Author: [email protected]
    Date: 2008-05-07 17:02:39 -0700 (Wed, 07 May 2008)
    Log Message:
    Set svn:mime-type and svn:eol-style on LICENSE and NOTICE files in the lib directory.
    Modified Paths:
    flex/sdk/branches/3.0.x/lib/batik-NOTICE.txt
    flex/sdk/branches/3.0.x/lib/commons-discovery-LICENSE.txt
    flex/sdk/branches/3.0.x/lib/xalan-NOTICE.txt
    flex/sdk/branches/3.0.x/lib/xerces-LICENSE.txt
    Property Changed:
    flex/sdk/branches/3.0.x/lib/batik-LICENSE.txt
    flex/sdk/branches/3.0.x/lib/batik-NOTICE.txt
    flex/sdk/branches/3.0.x/lib/commons-collections-LICENSE.txt
    flex/sdk/branches/3.0.x/lib/commons-discovery-LICENSE.txt
    flex/sdk/branches/3.0.x/lib/commons-logging-LICENSE.txt
    flex/sdk/branches/3.0.x/lib/commons-logging-NOTICE.txt
    flex/sdk/branches/3.0.x/lib/mm-velocity-LICENSE.txt
    flex/sdk/branches/3.0.x/lib/mm-velocity-NOTICE.txt
    flex/sdk/branches/3.0.x/lib/xalan-LICENSE.txt
    flex/sdk/branches/3.0.x/lib/xalan-NOTICE.txt
    flex/sdk/branches/3.0.x/lib/xerces-LICENSE.txt

    Thanks for your attention.
    In the above logs, higher resolutions seems to be detected on both screens, hence my surprise :
    [ 391.631] (II) intel(0): Printing probed modes for output LVDS1
    [ 391.631] (II) intel(0): Modeline "1600x900"x60.0 110.00 1600 1664 1706 2010 900 903 906 912 -hsync -vsync (54.7 kHz eP)
    [ 391.897] (II) intel(0): Printing probed modes for output HDMI1
    [ 391.897] (II) intel(0): Modeline "1680x1050"x59.9 119.00 1680 1728 1760 1840 1050 1053 1059 1080 +hsync -vsync (64.7 kHz eP)
    If it can help here is also my current xrandr output (after having called it manually to use the preferred resolution of each screen)
    itanguy ~ $ xrandr
    Screen 0: minimum 320 x 200, current 1680 x 1050, maximum 8192 x 8192
    LVDS1 connected 1600x900+0+0 (normal left inverted right x axis y axis) 309mm x 174mm
    1600x900 60.0*+ 40.0
    1024x768 60.0
    800x600 60.3 56.2
    640x480 59.9
    VGA1 disconnected (normal left inverted right x axis y axis)
    HDMI1 connected 1680x1050+0+0 (normal left inverted right x axis y axis) 434mm x 270mm
    1680x1050 59.9*+
    1280x1024 75.0 60.0
    1152x864 75.0
    1024x768 75.1 60.0
    800x600 75.0 60.3
    640x480 75.0 60.0
    720x400 70.1
    DP1 disconnected (normal left inverted right x axis y axis)
    HDMI2 disconnected (normal left inverted right x axis y axis)
    HDMI3 disconnected (normal left inverted right x axis y axis)
    DP2 disconnected (normal left inverted right x axis y axis)
    DP3 disconnected (normal left inverted right x axis y axis)
    If needed, I may reboot and provide xrandr output after boot (it will be 1024x768), or could other logs help you ? Please ask...

  • Konqueror - inode/directory, but cannot handle this file type [solved]

    After upgrading kde 4.3, konqueror error: ...inode/directory, but cannot handle this file type. I tried this link but didn't work:
    https://lists.ubuntu.com/archives/kubun … 40719.html
    EDIT:
    Requires dolphin

    " I recompile ctag with option --disable-external-sort and everything is ok ! "
    http://tech.groups.yahoo.com/group/vim/message/89321
    Last edited by robsonpeixoto (2010-11-17 18:51:57)

  • Servlet application MIME type browser window issue

    Hi,
    I am writing a servlet that launches an application on a citrix server and as such the MIME type is as below:
    response.setContentType("application/x-ica");
    The user is supposed to click an internet explorer link on their desktop and the application will open, however currently a browser window opens and remains blank while the application launches and does not close until done so manually. I have seen examples where users can click a link and the browser window closes itself straight away, and the application continues to launch.
    Can anyone advise how to correct this problem?
    Thanks.

    I've found out what the problem was, wasn't related to the servlet itself it was a client side custom component making multiple requests, which the app replied to with different content types.
    Thanks.

  • .htaccess and MIME types not working in 3.1

    anyone else noticed that when using a .htaccess file to determine certain mime types safari 3 ignores the .htaccess file and handles the file the way the OS would normally?
    i'm hosting a bunch of 1080p .mov's and I'd prefer if they would just download when clicked on instead of trying to open in a window where they go out of frame.
    i've currently got the addtype set to octetstream, and on safari 2 and firefox they both automatically start to download, but safari 3 tries to open the movie in the browser window.

    I think that it is interesting to note that as I peruse the various threads dealing with 3.1 update problems the majority of complaints seem to be coming from iPhone/Mac combos; based, at least, on the posters signiture.
    For my part, 64bit vista win machine and 3Gs, the update could not have been soother and the phone works better then it did; no app problems, better wi-fi conectivity, faster loading of apps and files.
    I have had, though, considerable problems with Outlook sync, contacts sync and MM sync (enough so that I turned off MM except for iDisk); but most of these are known issues so just need to with it out.
    Seems like Apple could have workedd this stuff out before hand, though.

  • Safari cannot find the Internet plug-in (MIME type...x-shockwave-flash)

    Well, YouTube and other flash sites worked fine just until today. So I get this message :
    +The page “YouTube - Meet Single File” has content of MIME type “application/x-shockwave-flash”. Because you don’t have a plug-in installed for this MIME type, this content can’t be displayed.+
    I've already tried Disk Repair to repair the permissions, installed, re-installed Flash Player and Shockwave Player and nothing yet. System preferences with QuickTime Advanced Panel to enable flash and the other miscelaneous one I unchecked, the normal procedure, I guess. Also checked the libraries to see if I didn't have the plugin in two libraries, but i'm not sure about the library/plugin issue.
    Any help is much appreciated.
    Best Regards,
    Kinetick

    I actually don't get any error message at all. The Q is greyed out and a large ? in center of it and nothing works in Safari. I get the same non-message wherever I go that has QT. I have tried some of the fixes that have worked for other people but nothing works so far. I tossed the webplugin into the trash and restarted Safari. I repaired permissions. I looked at the plug-ins list in help but that was only confusing since I don't have a clue what any of those control. Getting frustrated and have spent a couple of hours trying to fix this.

  • Changed mime type associations !

    I recently installed gimp, and now when I open any downloaded pdf files, they are opened in gimp.
    Files previously downloaded and saved are however opened in 'evince'. I use open-box, Chromium, Rox-filer and evince, as DE, browser, file-manager and document viewer respectively.
    I searched the wiki and found two entries that I thought might help, Default Applications and Custom file associations, I've tried both user specific options in these pages, here are the files I created:-
    [bance@archbox ~]$ cat .local/share/applications/defaults.list
    [Default Applications]
    pdf=evince.desktop
    [bance@archbox ~]$ cat .local/share/applications/evince.desktop
    [Desktop Entry]
    Name=Evince
    Exec=/usr/bin/evince
    MimeType=application/x-evince
    Icon=evince
    Terminal=false
    Type=Application
    Categories=DocumentViewer
    Comment=
    Neither of these has worked, do the files look ok? Have I made a mistake somewhere?
    OK whilst writing this post, I noticed that I have a file /usr/share/applications/mimeinfo.cache, It contains a list of mime type associations, would editing this work?
    TIA Steve

    you need!! the inode/directory setting in the mimetype list.  That's what chromium reads to autopen your file manager. 
    Make sure it matches the .desktop file appropriate for your file manager.  In the case of spacefm, it is not spacefm.desktop as you might expect, it is spacefm-folder-handler.desktop.
    Check your .desktop files for your fm.
    If you're still having trouble, you might want to post your mimeapps.list
    I noticed in post1 you were using defaults.list instead.  Reading the wiki is not super clear on this, but since I downloaded the pkg 'mimeo' I used mimeapps.list instead.
    I assume you read the file extension portion of the chromium part of the wiki:
    https://wiki.archlinux.org/index.php/Ch … sociations
    Moderator: Please take care to not duplicate entries when you forgot some information. Use the "Edit" button instead. And if you did inadvertently as in this case, please notify the moderators with the "Report" button so they can take action.
    Deleting the doubled entry. -- bernarcher
    Last edited by bernarcher (2013-02-03 02:00:49)

  • Mime-types and schemas

    Hi
    after my last update yesterday I have got some problems with some mime-types. Directly after the update pacman said the following:
    Warning in file "/usr/share/applications/nautilus-folder-handler.desktop": usage of MIME type "x-directory/gnome-default-handler" is discouraged ("x-directory" is an old media type that should be replaced with a modern equivalent)
    Warning in file "/usr/share/applications/nautilus-folder-handler.desktop": usage of MIME type "x-directory/normal" is discouraged ("x-directory" is an old media type that should be replaced with a modern equivalent)
    Error in file "/usr/share/applications/oraclexe-readonlinehelp.desktop": "Application/database" is an invalid MIME type ("Application" is an unregistered media type)
    Error in file "/usr/share/applications/oraclexe-startdb.desktop": "Application/database" is an invalid MIME type ("Application" is an unregistered media type)
    Warning in file "/usr/share/applications/chromium-browser.desktop": usage of MIME type "x-directory/webdav" is discouraged ("x-directory" is an old media type that should be replaced with a modern equivalent)
    Warning in file "/usr/share/applications/chromium-browser.desktop": usage of MIME type "x-directory/webdav-prefer-directory" is discouraged ("x-directory" is an old media type that should be replaced with a modern equivalent)
    I also get a similar message when I try to install awn-extras from AUR altough it is installable (but not fully functional).
    (1/1) Installiere awn-extras-bzr [#####################] 100%
    I/O warning : failed to load external entity "/usr/share/gconf/schemas/awn-extras.schemas"
    »/usr/share/gconf/schemas/awn-extras.schemas« konnte nicht geöffnet werden: Datei oder Verzeichnis nicht gefunden
    It says, that the schema isnt found. Do you have any solutions?
    ~kiro

    .oO(Art)
    >When validating site, I'm getting the the following
    warning
    >-------------------------
    >Conflict between Mime Type and Document Type
    >
    >The document is being served with the text/html Mime Type
    which is not a
    >registered media type for the XHTML 1.1 Document Type.
    The recommended
    >media type for this document is: application/xhtml+xml
    >-------------------------
    >I work with ASP and I can't figure out why, really, it's
    doing this nor
    >can I figure out how to solve it.
    XHTML 1.1 documents should be delivered as
    application/xhtml+xml. This
    is not recommended, since IE doesn't support this MIME type.
    So switch
    back to XHTML 1.0 Strict, which can also be delivered as
    text/html.
    Micha

  • How can I use one Add-on prior to another for specific MIME-types?

    I'm using Shockwave Flash plugin to watch some videos on YouTube, StreamCloud, etc. It also handles .mkv and .mp4 files/streams. After installing VLC Web plugin to handle MIME-types like mp3/4, mkv additionally and prior to the Flash plugin, Firefox keeps using Flash to handle those types insted. I cannot find options to set the desired priorities. Only disabling the Flash plugin solves my problem, but also keeps me from watching Flash contents, which Is not acceptable.
    Did I miss something or is this Firefox's fault?

    If you type or paste '''about:plugins''' in the address bar and press Enter, you can see which plugins are associated which various content types.
    I do not know how to prioritize one over the other for the same content type if the plugin settings (plugins often have an interface outside of Firefox to adjust their settings) do not allow that.
    As for MP4, I don't think Flash normally would be selected. I suspect the website is specifying a Flash media player and streaming the MP4 through that. If you want to hide the Flash plugin from a particular website, you can use the Permissions tab of the Page Info dialog.
    Click the padlock or globe icon in the address bar, then More Information, then Permissions. The top section of the Permissions panel should be "Activate Plugins". Here you can select Block for Flash for the current site. After reloading the page, does the media play using a different plugin?

  • Need to get the MIME type of Files

    hi
    I have a table which contains Partno and the images name i.e PRODUCT_AWG_20070416 and the data would be like that :-
    partno img_name
    PX1 px1.jpeg
    PX2 px2.jpeg
    PX3 px3.jpeg
    Now one by one i am Inserting those files into my table (img_temp -BLOB Column) which are exists in directory & the map file. but i also need to insert the MIME type of the inserted file. can you please provide me the way to generate MIME type on the basis of file type like (JPG,GIF,TXT etc).
    the procedure i am using is as follows :
    hi
    I have a TABLE which contains Partno AND THE IMAGES NAME i.e PRODUCT_AWG_20070416 AND THE DATA would be LIKE that :-
    partno img_name
    PX1 px1.jpeg
    PX2 px2.jpeg
    PX3 px3.jpeg
    Now one BY one i am INSERTING those files INTO my TABLE (img_temp -BLOB COLUMN) which are EXISTS IN DIRECTORY & THE map FILE. but i also need TO INSERT THE MIME TYPE OF THE inserted FILE. can you please provide me THE way TO generate MIME TYPE ON THE basis OF FILE TYPE LIKE (JPG,GIF,TXT etc).
    the reason of this requirement is, we need to use that table in APEX 2.2 fromwhere i can download the inserted file and to download the file we need to get correct MIME_TYPE of that file.
    Please Suggest me the way.
    Thanks.
    The Procedure which i am using is as follows :
    CREATE OR REPLACE PROCEDURE img_uploader IS
    CURSOR Cur_img IS SELECT part_no,image_file FROM PRODUCT_AWG_20070416
                             WHERE Transaction_id =1 ;
    l_bfile BFILE;
    l_blob BLOB;
    BEGIN
    FOR Cur_img_val IN Cur_img LOOP
    l_bfile := BFILENAME('SOLVS_PRODUCT_IMG', Cur_img_val.image_file);
    INSERT INTO img_temp (part_no,MIME_type,file_name, img)
    VALUES (Cur_img_val.Part_no,NULL, Cur_img_val.image_file,EMPTY_BLOB())
    RETURN img INTO l_blob;
    DBMS_LOB.fileopen(l_bfile, Dbms_Lob.File_Readonly);
    DBMS_LOB.loadfromfile(l_blob, l_bfile, DBMS_LOB.getlength(l_bfile));
    DBMS_LOB.fileclose(l_bfile);
    END LOOP ;
    COMMIT;
    END;

    Hello,
    Perhaps this can help:
    http://help.sap.com/saphelp_nw04/helpdata/en/ad/ebe5cc1d75aa43a2871717d76f475d/content.htm
    If you want to know the table name, turn on tracing (ST05) when accessing the MIME types.
    regards
    Rick Bakker
    Hanabi Technology

Maybe you are looking for

  • MacBook Hard Disk Failure

    My white plastic MacBook running 10.4.11 won't boot. I get the folder with a question mark in it. I tried several things like mounting the disk from my iMac using Firewire Target Disk Mode, reseating the internal HD, but I wasn't able to mount the Ma

  • Creating Entities for this data model

    Hi guys, I have these 3 tables: create table employee_a ( employee_id int not null primary key ,   first_name varchar(50) not null ,   last_name varchar(50) not null ) create table manager_b ( id int not null primary key ,   manager_employee_id int n

  • Whats the best way to expose this in memory database? (ArrayList)

    Hello everyone. I was looking for advice on how I should implement this...currently I have the following ArrayList that stores ClassEntity objects. I'm going to write 2 classes that need to access this ClassEntity Object arrayList because they are go

  • How to cancel messages in SXMB_MONI with status "No receive found"

    Dear All, I need to cancel message with error status as mentioned in captioned subject. Can you please guide me how to do it? Regards, Saras Jain

  • Cannot trim or edit a movie created with a Sony Cybershot DSC-T200 camera?

    Hi there people. I've created some mpeg movies using my Sony Cybershot DSC-T200 then copied them onto my Imac. I want to trim the start and end of the movie which i know is possible within Quicktime as i've done it with other video formats from other