Forcing link to open in Quicktime instead of VLC

Hi,
The page www.railaway.tv has its video in WMV format, which stream can be read by QuickTime with Flip4Mac. But unfortunately they make the links with a Flash button, so I can not see (and copy) the link and paste it in QuickTime. When I click on the link in Safari, it will launch VLC, which can not read it. When I remove VLC from my Mac, it will open Windows Media Player, which can not read it (and I can not save the movie from WMP). When I remove WMP, Safari gives me an error that it can not open the link. But it's proven that QT can! Someone gave me a link to one of the clips on the site, and pasting it in QT works. How can I force Safari to open the file in QT?
This is the direct link to one film:
mms://193.242.108.40/watchingme4od/europe/switzerland_winter.wmv
And no, selecting a .wmv movie in the Finder, get Info and change all wmv files to open in QT doesn't work. It only works then for full movie files, not for mms links.
Where can I change the file type to open in QT. Which actually is the file type of the link, as it is not a windows movie (yet). It's a stream.

Hi,
This is server side code , you should write in your C# code behind method for Click event of Link Button .
- Use 1st part code in your button event handler method. (Replace <username> with current user name), best way is to find the crome.exe location at your dev machine , and paste the path here -
process.StartInfo.FileName = @""; , default location is in user's appdata folder. Test the code.
- If the above code works , and if your crome.exe is in user's appdata folder , then you will need to find dynamic location of AppData folder for every user. That means the path should not be hard coded. The 2nd part of the code is an hint for how you can
find the appdata path in C#. Something like this
//var cromePath = @"C:\Users\<UserName>\AppData\Local\Google\Chrome\chrome.exe";
var cromePath = Path.Combine(Environment.GetFolderPath(
Environment.SpecialFolder.ApplicationData), "\Local\Google\Chrome\chrome.exe");
using (var process = new Process())
process.StartInfo.FileName = cromePath;
process.StartInfo.Arguments = "your url";
process.Start();
So the step will be
- First try a direct call to crome,
var cromePath = @"crome.exe";
- if it not works , then try with hardcoded path of crome.exe from your dev machine for current user -
var cromePath = @"C:\Users\<currentUserName>\AppData\Local\Google\Chrome\chrome.exe";
- And if this work , then try it with dynamic path for any user, find appdata folder location through code 
var cromePath = Path.Combine(Environment.GetFolderPath(
Environment.SpecialFolder.ApplicationData), "\Local\Google\Chrome\chrome.exe");
Hope this will help, if you are a C# developer then you can easily understand  the concept.
Thanks
Ganesh Jat [My Blog |
LinkedIn | Twitter ]
Please click 'Mark As Answer' if a post solves your problem or 'Vote As Helpful' if it was useful.

Similar Messages

  • How to format a link to open in Chrome instead of IE?

    Is it possible to force a link within a SharePoint site to open in a certain browser?
    We have an online system that works best in Chrome. I've placed a link to this system in a library on our site - however, it will open in IE if that happens to be your default browser.
    Ideally, a user would click the link and it would open in Chrome, no matter what his/her default browser is.
    Someone asked this question on another forum and was given this answer:
    OOTB, SharePoint only opens in browser which is set as default.
    However, if this customization is absolutely necessary,you can develop a server side web part in which you can generate a link.Clicking on which will execute
    Chrome.exe process and open the link in browser.
    Code snippet to call Chrome.exe would be as follows:
    System.Diagnostics.Process.Start("chrome.exe",
    "http://sp.path.to/your/file.doc")
    My issue is that I don't know much code, where to place this code, or how to make it execute when a link is clicked. Can anyone give me a push in the right direction?
    FYI: Here's the link to the other forum where this question was asked. I can't place a hyperlink in the body of this question b/c my account is not yet verified: sharepoint.stackexchange.com/questions/132858/format-link-to-open-in-desired-browser-chrome

    Hi,
    This is server side code , you should write in your C# code behind method for Click event of Link Button .
    - Use 1st part code in your button event handler method. (Replace <username> with current user name), best way is to find the crome.exe location at your dev machine , and paste the path here -
    process.StartInfo.FileName = @""; , default location is in user's appdata folder. Test the code.
    - If the above code works , and if your crome.exe is in user's appdata folder , then you will need to find dynamic location of AppData folder for every user. That means the path should not be hard coded. The 2nd part of the code is an hint for how you can
    find the appdata path in C#. Something like this
    //var cromePath = @"C:\Users\<UserName>\AppData\Local\Google\Chrome\chrome.exe";
    var cromePath = Path.Combine(Environment.GetFolderPath(
    Environment.SpecialFolder.ApplicationData), "\Local\Google\Chrome\chrome.exe");
    using (var process = new Process())
    process.StartInfo.FileName = cromePath;
    process.StartInfo.Arguments = "your url";
    process.Start();
    So the step will be
    - First try a direct call to crome,
    var cromePath = @"crome.exe";
    - if it not works , then try with hardcoded path of crome.exe from your dev machine for current user -
    var cromePath = @"C:\Users\<currentUserName>\AppData\Local\Google\Chrome\chrome.exe";
    - And if this work , then try it with dynamic path for any user, find appdata folder location through code 
    var cromePath = Path.Combine(Environment.GetFolderPath(
    Environment.SpecialFolder.ApplicationData), "\Local\Google\Chrome\chrome.exe");
    Hope this will help, if you are a C# developer then you can easily understand  the concept.
    Thanks
    Ganesh Jat [My Blog |
    LinkedIn | Twitter ]
    Please click 'Mark As Answer' if a post solves your problem or 'Vote As Helpful' if it was useful.

  • Is there a way to make a linked PDF open in Acrobat instead of the browser?

    I would like to make a PDF open in Acrobat instead of the browser, so that the user can see its interactive features. Is there a way to do this in Muse? Or does it always spend on the user's browser settings?

    This would depend on the browser plugin installed , if browser does not have reader plugin then pdf will not open in browser.
    Not much can be done via Muse , but you can try some settings on pdf like password protected etc.
    Thanks,
    Sanjit

  • Link to open a file instead of downloading it

    Gentlemen,
    In my application I have included a file upload/download possibility, according to the How-to. I created a custom table, and put my uploaded files into it.
    It works very well.
    However I want to create a link (for example on the file name), which does not offer the possibility to download the previously uploaded file, but OPENS it, with the appropriate application (Word, Excel, Powerpoint).
    It is possible to execute this, or the user should download the files first ?
    If it is possible, then the changes can be saved to the original file ?
    Thanks for your help.
    Attila

    I believe the first question (open instead of save) is a browser preference and is a combination of the mime type (which you supply) and the user's browswer preference.
    I don't think you can get the second part without using webDAV or an OCX (AVI ?) control (windows only??)
    A-

  • Force PDFs to open in Preview instead of Safari?

    When I click on a .pdf link in Safari, it opens up in the browser as part of Acrobat Professional. How can I instead have it automatically open in Preview (which is much faster, less bloated)?

    Hi
    First open Acrobat Professional. Open Preferences. Change the PDF viewer default.
    Next, go to the Finder: Internet Plug-ins folder in either the main or User Library. Remove the Adobe PDF plug-in. Restart Safari.
    PDF should now open in Safari. If you want to save or print it, right or control click to access the contextual menu. You can also port the PDF to Preview via the Contextual Menu.

  • Want link to open new page instead

    I would like for a number of the links on my XHTML site to
    load in new windows when you go to those links, but presently, they
    are loading in the same window, thus taking potential customers
    completely away from my site. This is not something that I want.
    What setting, or modifacation do I need to do in order to get these
    pages to load in new windows instead of the same window?
    Thanks in advance.
    Nick

    It's slick, but bypassing the intent of the restriction, as
    Alan says.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    ": Nadia : **AdobeCommunityExpert**"
    <[email protected]> wrote in
    message
    news:edb5mv$sqb$[email protected]..
    >
    http://www.tjkdesign.com/articles/popup_window_with_no_extra_markup.asp
    >
    >
    > --
    > Nadia
    > Adobe� Community Expert : Dreamweaver
    > -------------------------------------------------
    >
    http://www.DreamweaverResources.com
    |Tutorials|SEO |CSS Templates
    >
    http://www.csstemplates.com.au
    > -------------------------------------------------
    >
    http://www.adobe.com/devnet/dreamweaver/css.html
    > CSS Tutorials for Dreamweaver
    > -------------------------------------------------
    >
    >
    > "Alan" <[email protected]> wrote
    in message
    >
    news:C11E9055.2A2AD1%[email protected]..
    >>
    >>
    >>> I would like for a number of the links on my
    XHTML site to load in new
    >>> windows
    >>
    >> There is no target attribute for A tags in xhtml.
    You could still use the
    >> attribute and it would work in some browsers, but
    give validation errors
    >> if
    >> that is what you are asking about.
    >>
    >> So- do you need to have the pages be xhtml?
    >> If no reason, then use html and the target
    attribute.
    >>
    >> If wanting to be xhtml- There are work-arounds like
    using JavaScript to
    >> open
    >> the new window, or document.write the target
    attribute that pass
    >> validation.
    >> They meet the letter of the proposed standard but
    not the intent.
    >>
    >> someone else may have better/more current
    information.
    >>
    >
    >

  • How to force links to open in a new tab everytime?

    Hi,
    I don't want to have to hold down buttons on my keyboard. When I click a link I wish it to always open in a new tab window like it does for me in internet exploder. How do I accomplish this in Safari?
    Thank you for your time.

    I'll never get used to having to use a hotkey to get something to show up in a new tab, that much I can say for certain. And I've not yet moved completely away from IE. IE unfortunately has activeX scripts that some automobile manufacturers internal sites use that I must access daily and they only work with the I.E. browser, so even trying to go to their sites with a browser like Safari only produces a page that says you must be using the latest I.E. browser due to bla bla bla.
    Its hard to make the switch 100% when your up against these huge auto mfg's that wont be switching to any other browser anytime soon. Even trying to use some browsers that spoof the site into thinking they are the latest I.E. browser does no good since they can't use the activex controls on the pages.
    I also severely miss having my mouse gestures. I use them extensively in I.E. to navigate back and forth and to close windows etc. Has anybody seen any mouse gestures for safari yet? I could use them more than having windows open in new tabs even. Also safari is still a bit unstable, I've had it crash about 5 times tonight, compared to Internet Exploder which crashes about once per day.
    Message was edited by: City Builder

  • How do I set links to open in Chrome instead of Safari

    I find that using Chrome as my browser things work better. However, if someone sends me a link it always opens in Safari can anyone tell me how to make Chrome my default browser

    There is no way to change the default browser.
    I believe that if you use the GMail mail App then links can be opened in Chrome.

  • Force links to open in new tabs not working any more

    Since the 10.6.4 update, safari on my macbook pro has stopped opening links in new tabs, and went back to the default of opening links in new windows. This is the old terminal command I used to change it initially :
    +defaults write com.apple.Safari TargetedClicksCreateTabs -bool true+
    It doesn't seem to work any more. I've attempted it several times. My Mac is also on 10.6.4, but I'm not experiencing the same problem there.
    Anyone else happen to have this happening?

    HI and welcome.....
    From your Safari menu bar click Safari / Preferences then select Tabs in the menu.
    Click the pop up menu and select: Always
    Carolyn

  • IBA: Is it possible to make an iTunes book link to open in Safari instead of iBooks on iPhone for iPad books?

    This message comes up on iPhone: “Item not available - This book is only viewable on an iPad or a Mac with iBooks”. It would be good to be able to show info about an iPad/Mac book on iPhones.

    To ask Apple to add this feature you need to post at
    http://www.apple.com/feedback

  • Key to force "in tab" open when clicking a link?

    is there a key i can hold down when I click a link to force it to open "in tab" (instead of popping out into a new window)

    HI,
    Try holding down the Control key and click the link.
    Carolyn

  • How to make a link to open a movie in Quicktime?

    Hi,
    i need a script (used in www.Apple.com/trailers) that has the following features:
    When you click on a button, the linked movie opens in Quicktime player. Please no "object" or "embed", i need javascript in order to be compatible with the windows crap world.
    Thanks!

    In the examples included with the weekly builds there is a CustomLinkEventHandler.as example.  Passing parameters would be done in the CustomClickHandler function.  You could attach the parameters to the LinkElement as user styles using the setStyle API.
    Hope that helps,
    Richard

  • How do I force Outlook 2010 to use Firefox instead if IE8?

    Whenever I click a link in my emails, it opens in IE8. With only one link, it works fine, but when I click on multiple links in a techie email, IE locks up when dealing with multiple tabs. Firefox works great.
    Where do I change the settings in Outlook 2010 so that links will open using Firefox instead???????
    Help files have not produced an answer.
    This is on a Win 7 Ultimate 32, Office 2010 Military version, with full Outlook 2010.
    TIA

    I found that this link solved my problem for windows 7:
    [http://www.werockyourweb.com/how-do-i-set-default-browser-outlook http://www.werockyourweb.com/how-do-i-set-default-browser-outlook]

  • FIREFOX OPENS RAR FILES INSTEAD OF DOWNLOAD

    I'm using Firefox 21. When I try to click in a rar file link, firefox opens the file instead of download.
    I've tried to change in "Tools->Options-> Aplications" the actions taken by the browser depending of file types, but there is no case for rar files and I cannot add it.
    Anyone can help?
    Thanks in advance

    This can happen if the server isn't configured properly and sends the file as text/plain.
    You should be able to verify this in Tools > Page Info > General
    *Press the F10 key or tap the Alt key to bring up the hidden "Menu Bar" temporarily.
    In such a case you can't left-click a link, but need to use the right-click context menu and use "Save Link As"

  • Links gose to new window instead of adding as tabs even I chose not to in preferences

    Whenever I click any links, it opens new windows instead of new tabs on existing window as used to be even I deselected the "open new window in a new tab instead" at the preferences. It's started from new Firefox 4.0.

    ''Chinamoon [[#question-1046902|said]]''
    <blockquote>
    Because of my work I have to be free to set side by side images and for that I need only windows no tabs - some work resolutions does not work in tabs - I am going crazy trying to do that since all the options I have tried so far are null.
    </blockquote>
    I had that add on and it didn't solve the problem. I cannot put two
    tabs side by side to compare slides. I hate to go back to IE but so far outside no longer supported Safari is the only answer. Thank you anyway.
    China

Maybe you are looking for

  • Email and calendar update error Nokia C7-00

    there is an email and calendar update and when i tried to do it my phone nokia c7-00 restarted and the update wasnt done and tried over and over again and the same issue still as it is

  • How do I change my background to black in the new version of iTunes?

    I hate the white background and had it black in the old version. With this new iTunes update I cannot figure out how to change it. Help!?

  • E-Sourcing/CLM - next versions?

    Hi We concider to implement the E-sourcing/CLM solution. But I can see that the mainstream maintenance of the current versions (e-sourcing 5.1/CLM 2.0) ends in 2012. Therefor we would rather wait for the next version if it is released soon. I can see

  • Swing component not terminating after window closed

    Actually I have to clarify. I am building a client server application, and for my server class I have it setup as this: public class QuoteClient extends JFrame implements WindowListener{      public void windowClosed(WindowEvent arg0) {           //

  • Installing Illustrator Creative Cloud

    If I get the new Illustrator Creative Cloud will I still be able to open all the Illustraior files I've been making over the last several years, and work on them? Is there the same compatibility I got when I ever upgraded in the past?