quarto-dev / quarto-dev/quarto-cli

Can't embed dropbox videos after June 2023

Open
#5,934 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug third-party video
Dominant language
JavaScript
Stars
6k
Forks
458
Avg merge
1d 9h
Merged PRs (30d)
41

Description

Bug description

Dropbox URL is change from June 2023.
Please someone tell me how to embed the video to website.
This is the link.
https://www.dropbox.com/scl/fi/4vrzdjnk7i0wuihl3pzud/Video.mp4?dl=0&rlkey=6ckf190r0jiljtnech4bym1b0

Steps to reproduce
  • Upload a video to dropbox
  • Copy the Share URL https://www.dropbox.com/s/s7cffdll62ojsy1/local-video.mp4?dl=0
  • Use the video shortcode to load this mp4 via VideoJS
    {{< video https://www.dropbox.com/s/s7cffdll62ojsy1/local-video.mp4?dl=0 >}}
Expected behavior
  • As before the video loads via the VideoJS snippet.
Actual behavior
  • The video doesn't load and shows a The media could not be loaded, either because the server or network failed or because the format is not supported. error.
Your environment

Mac

Quarto check output
❯ quarto check

[✓] Checking versions of quarto binary dependencies...
      Pandoc version 3.1.2: OK
      Dart Sass version 1.55.0: OK
      Deno version 1.33.2: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
      Version: 99.9.9
      Path: /Users/amanning/projects/github/quarto/quarto-cli/package/dist/bin

[✓] Checking basic markdown render....OK

[✓] Checking Python 3 installation....OK
      Version: 3.11.2
      Path: /Library/Frameworks/Python.framework/Versions/3.11/bin/python3
      Jupyter: 5.2.0
      Kernels: julia-1.8, julia-1.7, python3

[✓] Checking Jupyter engine render....OK

[✓] Checking R installation...........OK
      Version: 4.2.1
      Path: /Library/Frameworks/R.framework/Resources
      LibPaths:
        - /Library/Frameworks/R.framework/Versions/4.2/Resources/library
      knitr: 1.42
      rmarkdown: 2.20

[✓] Checking Knitr engine render......OK

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the video shortcode with the newer Dropbox share URL and compare it with the older URL shown in the issue. Trace how the video shortcode passes Dropbox URLs to VideoJS; done means the uploaded MP4 loads successfully without the media-format error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.