PeerTube icon indicating copy to clipboard operation
PeerTube copied to clipboard

Video not played from defined parameters in embed service

Open raazkarkee405 opened this issue 3 years ago • 1 comments

Describe the current behavior When setting different parameters in the video URL, the video is played without considering the parameter setting in the embed service. Steps to reproduce:

  1. Click on the Share button of any public video
  2. Customize the URL adding different parameters. Example: https://example.com/w/o7fL1ZRMqQw5Z5cSxtxXbc?start=1m39s&muted=1
  3. Open embed service with URL: https://example.com/services/oembed?url=https://example.com/w/o7fL1ZRMqQw5Z5cSxtxXbc?start=1m39s&muted=1

Describe the expected behavior When opening the link on the browser I am able to play the video as per the parameter but with the embed service, I am not able to play the video as per the parameter. For example: If the video URL has a parameter set to start=1m39s, the video is played from the same time on the browser but not with the embed service.

Additional information image

image So, If we see the youtube embed URL it is clearly mentioned the start duration of the video in the HTML section which plays the video from the defined start time.

But if we see the PeerTube embed URL defining the start time and other customization parameters do not get included in the HTML section which is restricting the video to be played from the defined start time and with custom parameters. image

  • PeerTube instance:
    • version: 4.1.1
    • NodeJS version: v14.19.1
    • Ffmpeg version: 4.2.4-1ubuntu0.1

raazkarkee405 avatar May 09 '22 10:05 raazkarkee405

@Chocobozzz, Are you trying to resolve this issue?

smilekison avatar May 19 '22 11:05 smilekison