No internet connection
  1. Home
  2. Issues

Bug in Dropbox video embedding

By Christian Scheuer @chrscheuer
    2020-08-06 10:15:30.164Z

    See the post here:
    https://forum.soundflow.org/-2534#post-3

    The user has posted a Dropbox link, which gets turned into a video element that is unplayable.
    In that case, having just the raw link would make it easier to see the video.

    • 8 replies
    1. This should get fixed at the end of next week, when I merge an external-links-preview branch. Thereafter, there'll be both the widget (e.g. video) and this text & clickable link below the widget:

      View at https://www.dropbox.com/...the-link....07.24.20.mov?dl=0
      

      B.t.w. I noticed that Dropbox, if one clicks the link, shows a page with a static image: <div ... style="background-image: url(&quot;https://uc0194a....previews.dropboxusercontent.com...

      And any actual video, won't appear until one has clicked the link, and the video is at a different address & domain: blob:https://www.dropbox.com/...........

      However now I found out that if Talkyard changes ?dl=0 to ?raw=1, then the video will appear & play properly, I can try to fix that

      "Rich", Super User II, says:

      https://www.dropboxforum.com/t5/Dropbox-files-folders/Embed-Video-to-Website/m-p/208035/highlight/true#M78228

      You'll need to create a share link to the video, then modify the link by changing the ?dl=0 at the end to ?raw=1. That results in a direct link to the file which you can use to embed it on most sites.

      ... you could easily use up all of alotted bandwidth for your [Dropbox] account ...

      Hmm

      1. CChristian Scheuer @chrscheuer
          2020-08-07 12:07:32.404Z

          Nice.. I don't think TY should change to dl=1, because of the issue "Rich" mentions.
          It's fine if users have to click twice IMO :)

        • In reply tochrscheuer:

          Now Dropbox video links work, sort of — although they won't play, there's a clickable link:

          Here's how ok links look though:

          This not yet deployed to Prod, only to here at Ty .io.

          1. N
            In reply tochrscheuer:
            nevinleiby @nevin
              2020-09-11 17:56:39.201Z
              1. The link currently needs to be on a line of its own, blank line before:

                so youtube links work natively
                
                https://www.youtube.com/watch?v=snJ1hGhjpdA&t=23s&ab_channel=CNBC
                
                more text
                

                Going to change this, so the blank lines before and after won't be needed. Probably just a line break before:

                Text text text line break
                https://www.youtube.com/...
                
              2. Progress
                with handling this problem
              3. @KajMagnus marked this topic as Started 2020-08-06 11:42:48.600Z.
              4. This fix now available at your site.

                1. C
                  Christian Scheuer @chrscheuer
                    2020-09-04 18:16:21.960Zreplies toKajMagnus:

                    Awesome!

                    1. @KajMagnus marked this topic as Done 2020-09-05 06:13:45.141Z.
                    2. C
                      Christian Scheuer @chrscheuer
                        2020-09-15 10:17:23.536Zreplies tochrscheuer:

                        Oh wow. Didn't know where to put this feedback. But the embedding of snippets from other threads on the forum. WOW!
                        Extremely nice and well designed. THANK YOU!