Giter VIP home page Giter VIP logo

ytdefer's People

Contributors

groupboard avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ytdefer's Issues

Vimeo

Is possible to make this also compatible with Vimeo videos?

Thank you.

Play button image loads on every hover interaction

Each time you hover over the play button, a new play button image is loaded. Open Devtools, goto the Network tab, then hover over the play button to see how it gets added to the timeline and makes an additional request.

ADA WCAG 2.1 AA issue

Here's what I'm dealing with.
And I apologize for the irrational crazy demands that the ADA creates. The image now has an alt tag. The overall link has a title.
This is getting called out now:

This button element is empty and has no programmatically determined name.

A programmatically determined name allows screen readers to tell the user what the control does. To add a name do one of the following:
• Add text between the BUTTON start and end tags
• Add a TITLE attribute
• Add an ARIA-LABELLEDBY attribute (not supported in all screen readers)
• Add an ARIA-LABEL attribute (not supported in all screen readers)

Here's the created button:
< button id="ytdefer_icon0" style= "background-image: url("data:image/svg+xml;base64, <<< Shortened >>> ;); position: absolute; border: 0px; background-color: transparent; left: 110px; top: 56.5px; width: 73px; height: 52px; pointer-events: none;"></ button >

I'd like to throw a title attribute in there.
Thanks!
`

alt tag for the placeholder image?

Working on a site that is using a lazyload a little different than yours.

I'm getting dinged for no alt tag on the place holder image. I've looked at your js code and am trying to figure out where to add an alt=" Youtube Screenshot message"

Any suggestions?

not working anymore on mobile (during calls)

Hi,

It's not working anymore on mobile WHEN I AM CALLING SOMEONE
PC : no problem

mobile : i click on play, then the video starts 1 seconde and it stops. I can't click one more time on any part of the video frame.
I can see this error in the chrome debugger on mobile :

www-widgetapi.js:1001 Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://www.youtube.com') does not match the recipient window's origin ('https://mywebsiteblablabla.fr').

it is only when i'm in a call.

thanks,

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.