Put links to video files in web pages - want option 'Open with' when the viewer clicks on the links.
If I go to a video file that is stored in my computer, for example xyz.mp4 and right click on it, one of the options is 'Open with' and several options for example QuickTime player, RealPlayer are presented for me to choose. But when I add the file to a web page and create a link to it for example http://sillyvideos.com/xyz.mp4 and then I right click on this link (on the web page) in my Firefox browser, I don't get the option 'open with '. My question is: is it possible to put a link to a video in a web page, so I or other viewers can click right on it and benefit from the option 'open with' (so we can choose the drive to open it, without having to download first in our computers)?
Normally what happens, is that the server sends the content with one or more headers that dictate what Firefox did with the video.
For example, if the content is sent with a header that Firefox can play internally, then Firefox can open the video in a tab and use a built-in player. You can see with MP3s when the server says that it is "audio/mpeg" content. However, if the server sends a content type that a capable of handling plugin, Firefox can attempt this plugin.
Normally Firefox will assume that the content is meant to be displayed in the browser, unless it is an unknown type or has a content-disposition header set to "attachment". In these cases, Firefox usually has open/save/Cancel dialog box.
I don't know what kinds of choices you want to offer visitors to your site, but if you thought giving them a choice of the players external , sending to content-disposition: attachment to make appear the probably the most logical open/save/Cancel dialog box. With smaller files such as JPEG and PDF, I did it with a script on the server side (for example, a PHP script). I don't know if the script would work with multimedia files.
If you want to provide more choices, you might need the buttons or links in the page.
This example applies to a PDF file, but the same idea applies to the image files and it can work with files more mainstream media. (In this case, you change the script to specify the correct content type.)
Implementation of the PHP approach, you follow these steps. This assumes that your server supports PHP (most do so) and that your Web host allows you to download PHP files.
(1) save the following as getpdf.php file
http://www.jeffersonscher.com/RES/getpdf.php.txt
(2) using a FTP software or your server download function, copy getpdf.php into the same folder as your PDF file
(3) test with your link. In the address bar, or in an e-mail, insert the following text before the name of the PDF file:
getpdf.php?f=
Thus, for example, this direct link to the PDF:
http://www.jeffersonscher.com/RES/Mixed_Content_Blocking.PDF
would become this link to the PHP file:
http://www.jeffersonscher.com/RES/getpdf.php? f =Mixed_Content_Blocking.pdf
Tags: Firefox
Similar Questions
-
I realized a web page that uses svg images. One of them is here:
http://donwagner.dk/JZSS5.4.svg.The svg is produced by Adobe Illustrator, CS5 version. Seen in any browser, the images look good at any magnification, but when I print the page in Firefox, the image is blurry seriously, apparently because that pixelation uses the wrong resolution.
The same phenomenon occurs in all browsers, not quite as bad in Chrome, but still not perfect.
Do you have plans to fix this bug, or do you have a work around?
Concerning
Don WagnerBetter control your graphics drivers are updated!
-
A notification can up on some type of script, which then disappeared before I could take a note. After that links up on all web pages would not work by using the mouse cursor.
It was only the links on a webpage, not on the menu bar or tabs above.To see if this happened on another browser, I opened the pages using Internet Explorer and open the links on all the pages that are controlled via the mouse. This sugested, it was a problem with Firefox.
I uninstalled Firefox and installed a new application of the latest edition of Firefox, but the problem persists.
No known cure for this problem.
This problem may be caused by the Yahoo! toolbar as scopes as well down and covers the top of the browser window, allowing links in this part of the screen not clickable.
You can keep an eye on this thread:
-
My Internet EXPLORER Favorites list include several photos, text files and downloaded web pages, of which none appear when I import my Internet EXPLORER Favorites list in Firefox. Is there a way I can remember those?
There is a work around:
Export your IE Favorites to an HTML file, and then import it into Firefox. If you have questions more do not hesitate to ask.
-
Brower, the menu buttons, icons and Web pages are large
icons of Windows xp, the menu buttons, the Favorites file, and Web pages are too bigHi rayrange,
· Did you do changes on the computer before the show?
Follow these methods.
Method 1: Perform a System Restore and check if the problem persists.
Method 2: Follow the steps in the article.
-
I just upgraded from CS 6 (Dreamweaver) and now when I click on an image on a web page in Dreamweaver is wrong in the folder where the photo is stored and more. If this continues, I'll have to go back to 6 CS that I put in a lot of photos.
I use dw cc and I just double-click on the photo I want to change in dreamweaver CC and my images folder opens, select new photo and then it updates and I'm good to go, I use a mac
-
The use of PDFs victory 8.1 on some web pages won't open or download why?
On some pages web Firefox won't open or download the pdf files. You use Internet Explorer on these same pages, they open fine.
????????????????????
No problem here with PDF links under articles.
For me, they open the PDF Viewer integrated into a tab.You can set the pref pdfjs.disabled true on the topic: config page to disable the build-in the PDF Viewer.
You can check the value of pref plugin.disable_full_page_plugin_for_types on the topic: config page and delete the application/pdf if it is present or reset the pref via the context menu by default if you want to display PDF documents in Firefox with another application (i.e. not integrated PDF Viewer).
-
When I launch mozilla or open a link in a new window I get the page you want to load but an additional page of the new tab opens with her. I tried to change my homepage to different things (new tab, firefox home, see the blank page) but I always get a new additional tab to open. How can I get only one page to open it?
Hello
The reset Firefox feature can solve a lot of problems in restaurant Firefox to its factory default condition while saving your vital information.
Note: This will make you lose all the Extensions and preferences.- Sites Web open is not recorded in less than 25 versions of Firefox.
To reset Firefox, perform the following steps:
For Firefox versions prior to 29,0:
- Go to Firefox > help > troubleshooting information.
- Click on the "Reset Firefox" line
button.
- Firefox will close and reset. After Firefox is finished, it will display a window with the imported information. Click Finish.
- Firefox opens with all the default settings applied.
For Firefox 29,0 and above:
- Click the menu button
click Help
and select troubleshooting information.
Now, should open a new tab containing your troubleshooting information.
- At the top right of the page, you should see a button that says "Reset Firefox"
. Click on it.
- Firefox will close and reset. After Firefox is finished, it will display a window with the imported information. Click Finish.
- Firefox opens with all the default settings applied.
Information can be found in the article Firefox Refresh - reset the settings and Add-ons .
This solve your problems? Please report to us!
Thank you.
-
No matter what program I use, except for chrome, when attempting to open an html document, for example an advertisement or in WMP media guide or find information on the album page, it comes up with the download dialog box asking if I want to save the file. Sometimes it's just the dialog box to download, but in the case of WMP, it says the default program could not open the file. I have chrome as a default for all types of web files and they all work fine opening directly via chrome. Here is a screencap of the problem in WMP as it is easier to recreate.
Edit: Here's another iteration of the error
New Edit: I tried to open IExplorer instead of chrome and IExplorer is also trying just to download Web pages instead of opening them
Looks like a few classes were too written which causes. I can assure you that you can uninstall IE11 of Windows 7 (in the dialog "Turn on or off Windows features") without what is happening. To completely solve if you may need to run a repair installation.
-
This question has been posted in response to the following article: http://help.Adobe.com/en_US/Acrobat/Pro/using/WS58a04a822e3e50102bd615109794195ff-7f58.w.h tml
Option 1:
In your web browser got to file > print
Select the Adobe PDF printer
-Make sure you use a format of paper appropriate otherwise, you will end up by with some strange results.
Option 2:
Use file > create Web Page
Then with the printable PDF file of the Adobe PDF printer.
-
Web pages can be made to fit the screen
Web pages can be made to fit the screen
You can zoom in and out:
-
I'm trying to open a Web page that previously opened well and it does not load, load it in Solution Explorer, however. I deleted the cache and cookies, had a peak in the proxy settings does not work, it is not a https / /... Any ideas?
By chance have you tried Mode without failure of Firefox? It is a standard diagnostic tool in order to avoid interference by extensions (and some custom settings). More info: questions to troubleshoot Firefox in Safe Mode.
You can restart Firefox in Mode safe help
Help > restart with disabled modules
In the dialog box, click on 'Start mode safe' (not Reset)
Any difference?
-
Mac user. Video files (.mov) are not displayed "a plugin is required to view this content. This plug-in is needed and where can I find it?
You can also see this MozillaZine forum thread.
-
Printed Web page shows only about 20% of the page, centered
Never had a problem, all of a sudden I can't print a Web page. Instead of everything on the page, it displays only about 20% of the horizontal line, from the left margin. the printed area is centered on the paper. In addition, the amount that is printed extends over five pages, when normally I could print the Web page on a single sheet. Maybe it's the best description printed looks as if the printer thinks the paper is 2.5 x 4 inches. Check the paper size, margins, etc..
You check in properties of this printer from Firefox?
See this:
http://KB.mozillazine.org/Problems_printing_web_pages -
It turns out that - this Web page wants to run the following add-on: 'Adobe Flash Player' of "Adobe Systems Incorporated".
What to do? Thank you!It is not question of viruses and malware. Contact the Adobe.com Support for help. However, you can download Adobe Flash Player from here--> get.adobe.com/flashplayer
Maybe you are looking for
-
Why are my download speeds so slow with flag and windows 7. My dell inspiron becomes 10-13 mb
Pavilion dm1 REF ly133av [Redacted] SN Windows 7 operating system This Pavilion is brand new and only get like . 2 Mbps of speedtest.net. The download speed is normal, but the dwnload speed is terrible. Now, I still have my old computer sitting here
-
After you install LabVIEW 8.6.1f1 on a new PC, every time I choose one of my screws via her select a VI... palette, I get a pop up message saying: ' you want to add the "P:\CWalker\COREYs LabVIEW subs projects\Phoenix" directory to your search path?
-
Try World of Warcraft to play on my laptop Windows 7 64 bit.
I recently updated my laptop to Windows 7 64 bit window Vista and now my world of warcraft will not play due to this error.But I get a "" unable to find a suitable display device. "" Now leaving the program. »I went on HP website and downloaded the d
-
I have a HP pavilion desktop computer will turn off randomly and the light flashes when I cut the power or hold the button down it will reboot after but if I wait not long before restarting it used to stay on long. Is this a power supply problem? Wha
-
BlackBerry smartphone App exposed - plugin Eclipse
Hello I'm new to BlackBerry app development and develop an application using the Eclipse plugin, BlackBerry and I have a question about the presentation of the app. I don't know how to combine the presentation files. Right now in the results file, I