bluesky-social / social-app

The Bluesky Social application for Web, iOS, and Android
https://bsky.app
MIT License
13.58k stars 1.74k forks source link

Embedded Slideshare Viewer #2466

Open ClonalAntibody opened 11 months ago

ClonalAntibody commented 11 months ago

Is your feature request related to a problem? Please describe.

When putting in a link to a Slideshare presentation, it embeds the link, but clicking takes you away from the tweet to the slideshare website. Instead, a slideshare viewer should be embedded in the post

Describe the solution you'd like

An embedded Slideshare viewer as in X, the former Twitter. The player should open the slideshow on the specified slide.

Describe alternatives you've considered

The alternative is what exists today, taking you away from bsky to the slideshare website to see the slides. This is unacceptable, because it reduces the chances of a member engaging with the post, and reduces the dissemination of the information

Additional context

An example of the url is below https://www.slideshare.net/SRI.CORNELL/1709-oopportunities-to-raise-agricultural-production-with-watersaving-and-with-climatechange-resilience#6

A link to the slide viewer on twitter is below. The player should have opened on slide #6, and it used to until it broke during the transition from Twitter to X https://twitter.com/ClonalAntibody/status/1643608852812943361

The code for the viewer should be available from folks at scribd/slideshare, and should hopefully not be a complex transition to bsky

likely scribd contact Mailto: support@scribd.com

mary-ext commented 10 months ago

this is problematic because the Slideshare's viewer URL isn't something we can get just by looking at the link that people use to share, this is pretty much blocked by https://github.com/bluesky-social/atproto/issues/2009


for the jump-to-slide functionality, Twitter didn't break it, either it's that Slideshare never actually implemented said functionality to begin with (my assumption given how the jump-to-slide functionality is implemented within the URL), or Slideshare did break it (just not Twitter's fault)

either way it doesn't seem like the URL on this part of HTML changes if the jump to slide URL is used.

image

this image should also better explain why we can't implement this easily, where does hkRvJOHDDnFXv4 even come from?

ClonalAntibody commented 10 months ago

The jump to slide functioned extremely well, until it got broken around the time Elon Musk started with his shenanigans on twitter. I had a long dialogue with slideshare about it, and they said that the problem is on the twitter side.

You may have to approach slideshare in order to implement the viewer. The key probably comes from a request made to slideshare server would be my guess

Having the embedded viewer makes for much more cogent threads.

ClonalAntibody commented 10 months ago

The jump to slide functioned extremely well, until it got broken around the time Elon Musk started with his shenanigans on twitter. I had a long dialogue with slideshare about it, and they said that the problem is on the twitter side.

You may have to approach slideshare in order to implement the viewer. The key probably comes from a request made to slideshare server would be my guess

Having the embedded viewer makes for much more cogent threads.

On Wed, Jan 10, 2024 at 3:56 AM Mary @.***> wrote:

Twitter didn't break it, either it's that Slideshare never actually implemented said functionality to begin with (my assumption given how the jump-to-slide functionality is implemented within the URL), or Slideshare did break it.

Either way it doesn't seem like the URL on this part of HTML changes if the jump to slide URL is used.

image.png (view on web) https://github.com/bluesky-social/social-app/assets/148872143/e72f00b9-b1db-48d4-b1b9-17179bf89f37

— Reply to this email directly, view it on GitHub https://github.com/bluesky-social/social-app/issues/2466#issuecomment-1884710735, or unsubscribe https://github.com/notifications/unsubscribe-auth/BFHL6SU7RZQ4PMXGRDKKKU3YNZ6VJAVCNFSM6AAAAABBUDPIE6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBUG4YTANZTGU . You are receiving this because you authored the thread.Message ID: @.***>