Coder Social home page Coder Social logo

Use embed.ly for embedded video. about akvo-rsr HOT 9 CLOSED

akvo avatar akvo commented on July 17, 2024
Use embed.ly for embedded video.

from akvo-rsr.

Comments (9)

adriancollier avatar adriancollier commented on July 17, 2024

Do we have a rough estimate of the effort required for this? (In dev days/hours).

I think this has time saving benefits later, as the current solution seems to have some issues with supporting multiple sites which hopefully could be avoided if we move platforms.

The effort will determine where this is put into the roadmap.

from akvo-rsr.

adriancollier avatar adriancollier commented on July 17, 2024

Added from Lighthouse to be considered with this change:

Handling embed of videos where permission to do so has been disabled by the creator.
Reported by bethwaaa | June 16th, 2011 @ 08:29 PM
If user embeds a URL in an RSR which connects to a video where the creator has disabled embedding, we should display the URL to the provider. This could be implemented by simply displaying the URL we're storing, or prettied up a bit with an inserted message in a notification box of some kind "The creator of this video has disabled embedding. View the original at "

This is likely a real edge case - it seems unlikely a field partner add a video update to RSR connected to a video w/ embedding off at the provider.

from akvo-rsr.

adriancollier avatar adriancollier commented on July 17, 2024

Added from Lighthouse:

If a user enters a youtube URL into a project update that requires login/authentication, then an OEmbed will not be rendered. Instead, the video URL will be shown.

This edge case should probably be covered by a check so that something more helpful can be shown in the template.

(Moved from PT)

from akvo-rsr.

adriancollier avatar adriancollier commented on July 17, 2024

Added from lighthouse:

The video on this page is valid but does not display properly.

http://earthwater.akvoapp.org/project/116/update/908/

It also does not display correctly on the main site:

http://www.akvo.org/rsr/project/116/update/908/

To be determined why not.

beth:
I poked at this one a little, just for fun. Tried to see if update origin, Akvo site v. partner site had anything to do with issues - doesn't. Played with pasting long v. short form of URLs - THAT doesn't matter. Tried different Pumpaid video - that worked as usual. Thinking maybe there's a particular Youtube setting on that video, but no nothing of those. Maybe I need a Youtube acct... ! Enough for now, this seems even more like a specific, not general, problem. http://test.akvo.org/rsr/project/301/updates/ and http://akvo.akvotest.org/project/301/updates/

from akvo-rsr.

adriancollier avatar adriancollier commented on July 17, 2024

The triangle video button indicator is the same size regardless of vid thumbnail size. Compare it on /updates/ page with on project page.

Can the project page version be scaled to same degree as the thumb itself? See attached files.
http://s3.amazonaws.com/activereload-lighthouse/assets/c63bed6ce784e17f4113d1e89e4ef6916003fbe3/vidthumb_updates.tiff?AWSAccessKeyId=1AJ9W2TX1B2Z7C2KYB82&Expires=1339763477&Signature=iaEp%2B7DcKoGm8krbEMUHVZS3Qac%3D
http://s3.amazonaws.com/activereload-lighthouse/assets/0e6b5492fdce1cc30bea3964cbd9aea5f384ce09/vidthumb_projpg.tiff?AWSAccessKeyId=1AJ9W2TX1B2Z7C2KYB82&Expires=1339763479&Signature=UTMNlsacS7w3v9q7jwnJSCqqPv4%3D

from akvo-rsr.

adriancollier avatar adriancollier commented on July 17, 2024

Vertical space between video and its caption should be same as that with photos.

Create an update with both video and photo. On update page there is more vertical space between the video and its caption than between the photo and its caption. There should be the same amount of space for both.


We will not be allowing both items to be included in the future, but we should ensure that the visuals of both photo and video are consistent and display correctly.

from akvo-rsr.

adriancollier avatar adriancollier commented on July 17, 2024

Embed.ly now costs if we reach over 5000 impressions per month http://embed.ly/embed/pricing

I don't think we should implement anything which has this kind of barrier to growth - one alternative is NoEmbed http://noembed.com/ which might help to provide a more consistent interface for the variety of providers.

Either way - I don't see this as an important task for right now.

from akvo-rsr.

KasperBrandt avatar KasperBrandt commented on July 17, 2024

Other options;

from akvo-rsr.

adriancollier avatar adriancollier commented on July 17, 2024

We can find this issue when we want to look at this subject again.

from akvo-rsr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.