Skip to content

Bugs in shared link with video #24331

Closed

Description

@lenz1111

Steps to reproduce (owncloud 9.0.1):

  1. Set in config.php:
    'enabledPreviewProviders' => array ( 0 => 'OC\Preview\Movie' )

on share link it will looks like that:

keyb1

keyb2

  1. Upload video with large size - preview_max_x / preview_max_y options are not used to set max video size in share link.

Solution:

  1. Disable video preview in shared link
  2. Set <video> style: max-width, max-height with parameters from preview_max_x / preview_max_y

Patch:
owncloud9_download_video_display_bugs.zip

Activity

  1. added this to the milestone on Apr 29, 2016
  2. LukasReschke commented on Apr 29, 2016

    @LukasReschke
    Contributor

    @lenz1111 Thanks a lot for your patch file! Can I ask you to open a pull request with this change? This would be utmost appreciated 🚀

  3. davitol commented on May 23, 2016

    @davitol
    Contributor

    @lenz1111 I cannot reproduce the issue. Could you please tell me which browser did you use and maybe could you provide me an example of file video to reproduce it?
    I'm also available in #owncloud-dev and #owncloud-testing (IRC).
    Thanks in advance.

  4. lenz1111 commented on May 23, 2016

    @lenz1111
    ContributorAuthor

    @davitol In any browser. Make sure you have:

    1. In config.php:
    'enable_previews' => true,
    'preview_max_x' => 640,
    'preview_max_y' => 640,
    'enabledPreviewProviders' => 
      array (
        0 => 'OC\\Preview\\Movie',
        1 => 'OC\\Preview\\Image',
      ),
    
    1. ffmpeg installed (thumbnails for video is generated correctly)

    On download page (public share) you will see both video frame and thumbnail picture

    I can show you example on my site if needed

  5. davitol commented on May 24, 2016

    @davitol
    Contributor

    @lenz1111 I reproduce it on Chrome version Version 50.0.2661.102 (64-bit). oC version 9.1.0.3","versionstring":"9.1.0 pre alpha","edition":""
    Before appliying the patch
    screen shot 2016-05-24 at 08 45 31

    After applying 24346 patch
    screen shot 2016-05-24 at 08 57 22

    Maybe can be a better solution that locates the preview in the right position?

    Thanks again for the PR

  6. lenz1111 commented on May 24, 2016

    @lenz1111
    ContributorAuthor

    @davitol For me it does not look good when you start playing a video and see at the right thumbnail from video - there is a better solution for video:
    <video controls poster="/images/w3html5.gif">
    I think poster is what we need here

  7. added a commit that references this issue on May 24, 2016
  8. lock commented on Aug 4, 2019

    @lock

    This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

  9. locked as resolved and limited conversation to collaborators on Aug 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions