On Monday, July 18, 2016 at 10:08:02 AM UTC-4, Jim Spoerl wrote:
>
> Well, I have made some progress with the help provided here.  Thanks so 
> much for that.
>
> Now I seem to be facing another issue that I do not understand.  If using 
> the MARKMIN access @////#/name.type for referencing attached media files to 
> a page in the builtin wiki, I end up with the problem that the URLs 
> generated for the Google Docs viewer are not working.  For example, if it 
> is a pdf that has been attached to the page (say, file.pdf), when viewing 
> the page there is an attempt to provide a thumbnail with a link in the 
> upper right for a popup viewer link.  The url looks correct but the error 
> from Google is "no preview available".  In addition, there is no way to 
> effect a download of the pdf to the client machine for local pdf viewing. 
>  For example, the url generated for an attached pdf is something like this: 
> https://docs.google.com/viewerng/viewer?url=https://mydomain.org/myapp/default/index/20/071016.pdf.
>  
>  That all looks correct.  The file is in the uploads folder correctly.  But 
> the handoff to Google Docs viewer fails.  And I cannot download the file by 
> right clicking on the preview icon, for example.
>

Can you post a link to an actual example? 
 

> So file service is failing completely except for audio (with the embedded 
> html5 <audio> being done correctly by web2py and a right click on the 
> player allowing download which is working OK.  The player does not work on 
> any Apple device, however, but it does work on Macs at least if a 
> non-Safari browser is used.  It does not work on Apple based non Macs 
> though no matter what browser is used.
>

I don't think Safari supports all audio file types, so it may depend on the 
particular file type. As far as you can tell, is web2py generating the 
correct HTML5 markup (can you show the output)? If so, it's probably just a 
Safari support issue, which web2py cannot control.

Anthony

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to