<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Cannot access (download?) to view .mp4 video files.]]></title><description><![CDATA[<p dir="auto">When I attempt to access (presumably to download) <strong>an .mp4 video Opera displays screensful of random ASCII characters.</strong> As a guess Opera is trying to utilise Windows Media Player. Is there a setting I can make to assist Opera? Windows Media Player as a plugin/addon perhaps?</p>
]]></description><link>https://forums.opera.com/topic/23587/cannot-access-download-to-view-mp4-video-files</link><generator>RSS for Node</generator><lastBuildDate>Mon, 10 Aug 2026 20:57:46 GMT</lastBuildDate><atom:link href="https://forums.opera.com/topic/23587.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 26 Nov 2017 11:34:04 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Cannot access (download?) to view .mp4 video files. on Thu, 24 May 2018 12:18:30 GMT]]></title><description><![CDATA[<p dir="auto">@joshl I meant to add multiple <code>chrome.webRequest.onHeadersReceived.addListener...</code> in background.js. One for each site you want to handle.</p>
]]></description><link>https://forums.opera.com/post/147094</link><guid isPermaLink="true">https://forums.opera.com/post/147094</guid><dc:creator><![CDATA[burnout426]]></dc:creator><pubDate>Thu, 24 May 2018 12:18:30 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot access (download?) to view .mp4 video files. on Thu, 24 May 2018 08:30:08 GMT]]></title><description><![CDATA[<p dir="auto">Who's <em>listeners</em>?</p>
]]></description><link>https://forums.opera.com/post/147087</link><guid isPermaLink="true">https://forums.opera.com/post/147087</guid><dc:creator><![CDATA[[[global:former_user]]]]></dc:creator><pubDate>Thu, 24 May 2018 08:30:08 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot access (download?) to view .mp4 video files. on Wed, 23 May 2018 09:53:02 GMT]]></title><description><![CDATA[<p dir="auto">@joshl said in <a href="/post/147015">Cannot access (download?) to view .mp4 video files.</a>:</p>
<blockquote>
<p dir="auto">it only fixes stuff on that randomvoting</p>
</blockquote>
<p dir="auto">Yes. You really need to do it on a case-by-case basis, as the fix for each problem site can be different.</p>
<p dir="auto">However, you can specify multiple <a href="https://developer.chrome.com/extensions/match_patterns" target="_blank" rel="noopener noreferrer nofollow ugc">match_patterns</a> in permissions in the manifest file and in the urls array in the listener background.js to make the specific fix apply to more URLs.</p>
<p dir="auto">You could set "&lt;all_urls&gt;" in the manifest file and add multiple listeners (one for each site) in background.js where you can then do specific fixes per site.</p>
]]></description><link>https://forums.opera.com/post/147017</link><guid isPermaLink="true">https://forums.opera.com/post/147017</guid><dc:creator><![CDATA[burnout426]]></dc:creator><pubDate>Wed, 23 May 2018 09:53:02 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot access (download?) to view .mp4 video files. on Wed, 23 May 2018 09:11:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forums.opera.com/uid/122">@burnout426</a>, it only fixes stuff on that <code>randomvoting</code> or should one put some <strong>list</strong> of sites (or hosts?) instead of it there?</p>
]]></description><link>https://forums.opera.com/post/147015</link><guid isPermaLink="true">https://forums.opera.com/post/147015</guid><dc:creator><![CDATA[[[global:former_user]]]]></dc:creator><pubDate>Wed, 23 May 2018 09:11:06 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot access (download?) to view .mp4 video files. on Wed, 23 May 2018 08:46:14 GMT]]></title><description><![CDATA[<p dir="auto">@joshl said in <a href="/post/147013">Cannot access (download?) to view .mp4 video files.</a>:</p>
<blockquote>
<p dir="auto">What is the difference between .js and .json extensions?</p>
</blockquote>
<p dir="auto">.json is for specifying Javascript data objects. .js is for directly executable Javascript code. In this case, think of JSON like an ini file or a prefs file etc.</p>
<p dir="auto">@joshl said in <a href="/post/147013">Cannot access (download?) to view .mp4 video files.</a>:</p>
<blockquote>
<p dir="auto">Do you use the Notepad</p>
</blockquote>
<p dir="auto">Yes. Notepad or any text editor is fine. Notepad++ is what I use in this case.</p>
]]></description><link>https://forums.opera.com/post/147014</link><guid isPermaLink="true">https://forums.opera.com/post/147014</guid><dc:creator><![CDATA[burnout426]]></dc:creator><pubDate>Wed, 23 May 2018 08:46:14 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot access (download?) to view .mp4 video files. on Wed, 23 May 2018 08:25:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forums.opera.com/uid/122">@burnout426</a><br />
What is the difference between <code>.js</code> and <code>.json</code> extensions?<br />
Do you use the <em>Notepad</em> application for that? I used to learn HTML and created some files and saved as <code>.html</code>...<img src="https://forums.opera.com/assets/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f914.png?v=89iooh84962" class="not-responsive emoji emoji-emoji-one emoji--thinking_face" title=":thinking_face:" alt="🤔" /> <img src="https://forums.opera.com/assets/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=89iooh84962" class="not-responsive emoji emoji-emoji-one emoji--confused_face" title=":confused:" alt="😕" /></p>
]]></description><link>https://forums.opera.com/post/147013</link><guid isPermaLink="true">https://forums.opera.com/post/147013</guid><dc:creator><![CDATA[[[global:former_user]]]]></dc:creator><pubDate>Wed, 23 May 2018 08:25:36 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot access (download?) to view .mp4 video files. on Wed, 23 May 2018 07:51:37 GMT]]></title><description><![CDATA[<p dir="auto">Create a folder named "Fix MP4 Type".</p>
<p dir="auto">In it, put these files:</p>
<p dir="auto">manifest.json:</p>
<pre><code>{
    "background": {
        "scripts": ["background.js"]
    },
    "incognito" : "spanning",
    "description": "Fix MP4 Type on randomvoting.com", 
    "browser_action": {
        
    },
    "manifest_version": 2, 
    "name": "Fix MP4 Type on randomvoting.com", 
    "permissions": [
        "webRequest", 
        "webRequestBlocking", 
        "http://www.randomvoting.com/videos/*.mp4"
    ],
    "version": "0.1"
}
</code></pre>
<p dir="auto">background.js:</p>
<pre><code>chrome.webRequest.onHeadersReceived.addListener(function(details) {
    var headers = details.responseHeaders;
    for (var i = 0; i &lt; headers.length; ++i) {
        if (headers[i].name === "Content-Type") {
            headers[i].value = "video/mp4"
            break;
        }
    }
    return {responseHeaders: headers};
}, {urls: ['http://www.randomvoting.com/videos/*.mp4']}, ['responseHeaders', 'blocking']);
</code></pre>
<p dir="auto">Then, goto <code>opera://extensions</code>, switch to developer mode, click "load unpacked extension" and point it to the folder.</p>
<p dir="auto">Also, adjust <code>opera://flags/#autoplay-policy</code> how you want.</p>
<p dir="auto">Then, when navigating to <code>http://www.randomvoting.com/videos/capstick_came_home.mp4</code>, it should play inside Opera once enough of it is buffered. You can then use the download option on the video toolbar to download it if you want.</p>
<p dir="auto">Anyway, play with and tweak the extension to your liking.</p>
]]></description><link>https://forums.opera.com/post/147011</link><guid isPermaLink="true">https://forums.opera.com/post/147011</guid><dc:creator><![CDATA[burnout426]]></dc:creator><pubDate>Wed, 23 May 2018 07:51:37 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot access (download?) to view .mp4 video files. on Wed, 23 May 2018 07:23:49 GMT]]></title><description><![CDATA[<p dir="auto">Close all tabs in Opera so there's only the start page. Ctrl + shift + i to load developer tools. Switch to the Network tab, check "disable cache" and make sure "all" (in this particular case) for the filter. Then, paste the link in the address field and press enter.</p>
<p dir="auto">You'll then see a request/repsponse connection being logged. Left-click it and click the "Headers" tab. What you will see is:</p>
<pre><code>Content-Type: text/plain
</code></pre>
<p dir="auto">That's the reason for the problem as suggested previously.</p>
<p dir="auto">Now, browsers could try to sniff the content, figure out that it's actually an mp4 and play it etc. But, the site also sends:</p>
<pre><code>X-Content-Type-Options: nosniff
</code></pre>
<p dir="auto">that tells the browser not to do that and to treat it as text/plain just like the site says.</p>
<p dir="auto">An extension that allows you to modify the content-type in response headers for files with mp4 extensions in the <code>http://www.randomvoting.com/videos/</code> directory to video/mp4 (with perhaps removing the no-sniff header too) might help if you can't get the site to fix it.</p>
]]></description><link>https://forums.opera.com/post/147010</link><guid isPermaLink="true">https://forums.opera.com/post/147010</guid><dc:creator><![CDATA[burnout426]]></dc:creator><pubDate>Wed, 23 May 2018 07:23:49 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot access (download?) to view .mp4 video files. on Wed, 23 May 2018 06:05:01 GMT]]></title><description><![CDATA[<p dir="auto">If the is on some hosting site you may be stuck with what you have. You can always save the link to a file and view it in an external program (I just did - it's a video of a cat).</p>
]]></description><link>https://forums.opera.com/post/147005</link><guid isPermaLink="true">https://forums.opera.com/post/147005</guid><dc:creator><![CDATA[sgunhouse]]></dc:creator><pubDate>Wed, 23 May 2018 06:05:01 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot access (download?) to view .mp4 video files. on Wed, 23 May 2018 05:14:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forums.opera.com/uid/73">@leocg</a> said in <a href="/post/132602">Cannot access (download?) to view .mp4 video files.</a>:</p>
<blockquote>
<p dir="auto">It means that the problem is probably on the page itself, maybe the wrong mime type is being sent to Opera.</p>
</blockquote>
<p dir="auto">So what one would do with that?<br />
I also have that trouble with <em>mime type</em> with some hosts sometimes. Not usually recently, but still. When it happens, the download extension does catch the file to download.</p>
]]></description><link>https://forums.opera.com/post/146999</link><guid isPermaLink="true">https://forums.opera.com/post/146999</guid><dc:creator><![CDATA[[[global:former_user]]]]></dc:creator><pubDate>Wed, 23 May 2018 05:14:23 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot access (download?) to view .mp4 video files. on Wed, 29 Nov 2017 14:38:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forums.opera.com/uid/73">@leocg</a> Streaming video is a complex topic. Simply uploading an .mp4 (or an .avi) file to a website is not sufficient. I'll need to look further.</p>
]]></description><link>https://forums.opera.com/post/132870</link><guid isPermaLink="true">https://forums.opera.com/post/132870</guid><dc:creator><![CDATA[[[global:former_user]]]]></dc:creator><pubDate>Wed, 29 Nov 2017 14:38:56 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot access (download?) to view .mp4 video files. on Mon, 27 Nov 2017 12:29:52 GMT]]></title><description><![CDATA[<p dir="auto">I've downloaded the video and played it in Opera without any problems. It means that the problem is probably on the page itself, maybe the wrong mime type is being sent to Opera.</p>
<p dir="auto">BTW, the same problem happens on Edge and Firefox tries to download the file instead of trying to play it.</p>
]]></description><link>https://forums.opera.com/post/132602</link><guid isPermaLink="true">https://forums.opera.com/post/132602</guid><dc:creator><![CDATA[leocg]]></dc:creator><pubDate>Mon, 27 Nov 2017 12:29:52 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot access (download?) to view .mp4 video files. on Mon, 27 Nov 2017 09:30:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forums.opera.com/uid/73">@leocg</a> The direct link to the file didn't post correctly. It should be:</p>
<p dir="auto"><a href="http://www.randomvoting.com/videos/capstick_came_home.mp4" target="_blank" rel="noopener noreferrer nofollow ugc">link text</a></p>
<p dir="auto">Eric alias Randomist</p>
]]></description><link>https://forums.opera.com/post/132591</link><guid isPermaLink="true">https://forums.opera.com/post/132591</guid><dc:creator><![CDATA[[[global:former_user]]]]></dc:creator><pubDate>Mon, 27 Nov 2017 09:30:32 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot access (download?) to view .mp4 video files. on Mon, 27 Nov 2017 09:22:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forums.opera.com/uid/73">@leocg</a> Thank you for your response; it is much appreciated <img src="https://forums.opera.com/assets/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f604.png?v=89iooh84962" class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_smiling_eyes" title=":smile:" alt="😄" /></p>
<p dir="auto">(And I have not seen such a comprehensive collection of Emoji. Quite incredible!)</p>
<p dir="auto">These two screenshots seem to illustrate what I'm seeing:</p>
<p dir="auto"><a href="http://www.randomvoting.com/videos/Opera_rendition_of_an_mp4_file.jpg" target="_blank" rel="noopener noreferrer nofollow ugc">link text</a></p>
<p dir="auto">And version information and OS:</p>
<p dir="auto"><a href="http://www.randomvoting.com/videos/Opera_version.jpg" target="_blank" rel="noopener noreferrer nofollow ugc">link text</a></p>
<p dir="auto">The link to the file is:</p>
<p dir="auto"><a href="http://www.randomvoting.com/videos/Opera_version.jpg" target="_blank" rel="noopener noreferrer nofollow ugc">link text</a></p>
<p dir="auto">In the past I've used 'MSI Web Video' to produce shockwave flash (.swf) files that rendered okay in Opera. See, for example:</p>
<p dir="auto"><a href="http://www.kurrattan.net/robert/Robert.html" target="_blank" rel="noopener noreferrer nofollow ugc">link text</a></p>
<p dir="auto">Eric Carwardine alias Randomist</p>
]]></description><link>https://forums.opera.com/post/132588</link><guid isPermaLink="true">https://forums.opera.com/post/132588</guid><dc:creator><![CDATA[[[global:former_user]]]]></dc:creator><pubDate>Mon, 27 Nov 2017 09:22:05 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot access (download?) to view .mp4 video files. on Sun, 26 Nov 2017 18:07:32 GMT]]></title><description><![CDATA[<p dir="auto">Opera should be able to play a MP4 file, depending on the codec it uses. If it is displaying some weird characters  then there is a chance that the site is sending wrong info to Opera.</p>
<p dir="auto">Right click on the link, save the file and try to open it in Opera to see if it plays.</p>
<p dir="auto">What's your version of Opera, OS and link to the file?</p>
]]></description><link>https://forums.opera.com/post/132540</link><guid isPermaLink="true">https://forums.opera.com/post/132540</guid><dc:creator><![CDATA[leocg]]></dc:creator><pubDate>Sun, 26 Nov 2017 18:07:32 GMT</pubDate></item></channel></rss>