News:

Dear forum visitors, if the support forum is not available, please try again a few minutes later. Thanks!

Main Menu
Support-Forum

Open in Browser not working properly

Started by chasestar989, 03.02.2017 23:55:55

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

chasestar989

I have made some changes to the configuration.  At one point I added to open mp4 files in the browser.  But I tried to switch it back and can't get it to just start the download.

I have cleared everything out of the "Open in Browser" field, but nothing seems to work.  Is there another field that controls this?  Or is there any way to return all settings to default?  I'm doing my best not to have to uninstall/reinstall the whole extension.

Any help would be greatly appreciated.

[gelöscht durch Administrator]
  •  

ColinM

Hi
Have you cleared both the Joomla! cache and your browsers Cache- they are separate.  Also have you logged out of jD backend and logged back in?
Also it might be a setting in your browser.  Does it work with different browsers?
Colin
Colin M
  •  

ColinM

Hi
I have tested further.  mp4 files were not selected to be opened in the browser - see pic mp400.png
When I click on the Download button the my default browser, Firefox, asks the question as shown in pic mp401.png.
If I select the Browser option View and also tick the 'Do this automatically...' box then the browser will always open the file irrespective of any jD setting.  To undo this would mean changing the the relevant browser setting.  Basically the browser setting will either override the jD request or the browser will ask what action to take, what is used is browser dependant. Chrome is generally similar to Firefox. Edge also asks first.

Colin
PS thius is not a bug so I have moved to general

[gelöscht durch Administrator]
Colin M
  •  

chasestar989

#3
I don't believe it is the browser setting.  I checked in edge using the default settings, I also reset my chrome settings.  Next I tried on a totally separate machine.

Do me a favor and check my site with your browser settings.  I have a temporary user that you can use to login.

Removed info after copying as site is public

go to my downloads and try to download the 5025 Sandy Cove file. (it is .mp4)
  •  

ColinM

OK
I logged in on your site and yes it immediately started as you sain on my browser (Firefox).  I did download the file by right click and Save As.  Will create a new Download on my site using the video.  Will check back later,
Colin
Colin M
  •  

chasestar989

Thank you for your quick reply.  I look forward to your response.
  •  

ColinM

Hi
I made a Download of your mp4 file by using ftp to upload to jD root directory and then used Files section to make into a an actual Download. See pic droneworks01.png.

Note it also automatically made a preview as well - I was using layout "Standard Files Layout without Checkboxes v3.2".

Also viewed using layout 'Files Layout Single Line v3.2' - see pic droneworks02.png.  In both cases it behaved as normal and downloaded directly.

Which layout and which menu item are you using?  I think it is a List MyDownloads menu item type with a minor variant of the layout 'Files Layout Single Line v3.2'.  The code generated is as below where I have removed the direct img reference detail with xxxxxx.

<div class="jd_left" style="">
  <a href="/index.php/my-downloads/send/1-root/3-5025-sandy-cove">
    <img src="http://xxxxxxx/images/jdownloads/fileimages/downloadicon.png" style="text-align:top;border:0px;" alt="downloadicon.png" width="32" height="32">
  </a>
  <a target="_blank" href="/index.php/my-downloads/send/1-root/3-5025-sandy-cove" title="Download" class="jd_download_url">5025 Sandy Cove
  </a>
</div>

From my site the code generated using a 'List MyDownloads' menu item after excluding the Edit icon and New code is similar.

<div class="jd_left" style="">
  <a href="/jda1/en/my-downloads/send/9-topcat-sub1/123-a-droneworkxmp4.html">
    <img src="http://yyyyyyy/jda1/images/jdownloads/fileimages/mp4.png" style="text-align:top;border:0px;" alt="mp4.png" width="32" height="32">
  </a>
  <a href="/jda1/en/list-my-downloads/send/9-topcat-sub1/123-a-droneworkxmp4.html" title="Download"   class="jd_download_url">A-DroneWorkxMP4
  </a>
</div>

One difference is that you have the Download in the Uncategorized category (indicated by the '/1-root' in the <a html lines).  So I also set the Download into Uncategorized and it still downloaded directly.

To progress it would probably help if I had super admin access to your site - only send by PM by clicking on the small 'squarish' symbol below my name.

Colin
PS have you cleared your browser cache?
Colin M
  •  

ColinM

Hi
I see that the file is on an External site. This means that the actual downloading is controlled entirely by the browser setup, not by jDownloads.
Colin
Colin M
  •