[GH-ISSUE #1173] Is it possible to integrate an online viewer for offline scenarios? I can't access google Thanks to the developer! #754

Open
opened 2026-03-02 16:01:13 +03:00 by kerem · 10 comments
Owner

Originally created by @hestiacn on GitHub (May 6, 2024).
Original GitHub issue: https://github.com/prasathmani/tinyfilemanager/issues/1173

Is it possible to integrate an online viewer for offline scenarios? I can't access google Thanks to the developer!

Originally created by @hestiacn on GitHub (May 6, 2024). Original GitHub issue: https://github.com/prasathmani/tinyfilemanager/issues/1173 Is it possible to integrate an online viewer for offline scenarios? I can't access google Thanks to the developer!
Author
Owner

@hestiacn commented on GitHub (May 6, 2024):

        <?php
        if($is_onlineViewer) {
            if($online_viewer == 'google') {
                echo '<iframe src="https://docs.google.com/viewer?embedded=true&hl=en&url=' . fm_enc($file_url) . '" frameborder="no" style="width:100%;min-height:460px"></iframe>';
<!-- gh-comment-id:2096668672 --> @hestiacn commented on GitHub (May 6, 2024): <?php if($is_onlineViewer) { if($online_viewer == 'google') { echo '<iframe src="https://docs.google.com/viewer?embedded=true&hl=en&url=' . fm_enc($file_url) . '" frameborder="no" style="width:100%;min-height:460px"></iframe>';
Author
Owner

@hestiacn commented on GitHub (May 6, 2024):

ViewerJS is recommended. Please help me configure it. I modified tinyfilemanager but it cannot be opened. Thanks you! I put it in the assets folder

<!-- gh-comment-id:2096700908 --> @hestiacn commented on GitHub (May 6, 2024): ViewerJS is recommended. Please help me configure it. I modified tinyfilemanager but it cannot be opened. Thanks you! I put it in the assets folder
Author
Owner

@prasathmani commented on GitHub (May 7, 2024):

The current system only supports files that are publicly accessible and can be viewed by Google Viewer or Microsoft Viewer. If Google Viewer is not working, you can try using Microsoft Viewer as an alternative. However, offline viewing is not supported at this time.

<!-- gh-comment-id:2097342719 --> @prasathmani commented on GitHub (May 7, 2024): The current system only supports files that are publicly accessible and can be viewed by Google Viewer or Microsoft Viewer. If Google Viewer is not working, you can try using Microsoft Viewer as an alternative. However, offline viewing is not supported at this time.
Author
Owner

@hestiacn commented on GitHub (May 7, 2024):

Does ViewerJS not support integration into the offline branch?

<!-- gh-comment-id:2097386925 --> @hestiacn commented on GitHub (May 7, 2024): Does ViewerJS not support integration into the offline branch?
Author
Owner

@prasathmani commented on GitHub (May 7, 2024):

The offline branch is currently not supported, but it will be taken into consideration for a future release.

<!-- gh-comment-id:2097677477 --> @prasathmani commented on GitHub (May 7, 2024): The offline branch is currently not supported, but it will be taken into consideration for a future release.
Author
Owner

@hestiacn commented on GitHub (May 7, 2024):

Does Google Viewer have an interface at cdn.jsdelivr.net? Or does CloudFlare have an interface?

<!-- gh-comment-id:2098198512 --> @hestiacn commented on GitHub (May 7, 2024): Does Google Viewer have an interface at cdn.jsdelivr.net? Or does CloudFlare have an interface?
Author
Owner

@prasathmani commented on GitHub (May 7, 2024):

No

<!-- gh-comment-id:2098469497 --> @prasathmani commented on GitHub (May 7, 2024): No
Author
Owner

@hestiacn commented on GitHub (May 7, 2024):

Thanks!

<!-- gh-comment-id:2098693011 --> @hestiacn commented on GitHub (May 7, 2024): Thanks!
Author
Owner

@hestiacn commented on GitHub (May 19, 2024):

I found an online preview solution that can replace Google Viewer. Should you consider deploying it in tinyfilemanager? The following is the link address https://github.com/kekingcn/kkFileView

Official website and documents
Address: https://kkview.cn
online experience
Please be kind to public services, which will be deactivated from time to time.
Address: https://file.kkview.cn

<!-- gh-comment-id:2119282959 --> @hestiacn commented on GitHub (May 19, 2024): I found an online preview solution that can replace Google Viewer. Should you consider deploying it in tinyfilemanager? The following is the link address https://github.com/kekingcn/kkFileView Official website and documents Address: https://kkview.cn online experience Please be kind to public services, which will be deactivated from time to time. Address: https://file.kkview.cn
Author
Owner

@hestiacn commented on GitHub (May 19, 2024):

No

I found an online preview solution that can replace Google Viewer. Should you consider deploying it in tinyfilemanager? The following is the link address https://github.com/kekingcn/kkFileView

<!-- gh-comment-id:2119287208 --> @hestiacn commented on GitHub (May 19, 2024): > No I found an online preview solution that can replace Google Viewer. Should you consider deploying it in tinyfilemanager? The following is the link address https://github.com/kekingcn/kkFileView
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tinyfilemanager#754
No description provided.