Git Product home page Git Product logo

bideo.js's People

Contributors

technopahadi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bideo.js's Issues

is it possible to Autoplay when Unmuted?

hello,

it seems when removing "muted" tag, the auto-play function stops working... maybe its some-kind of protection mechanism in the browser to not play background videos.

but i saw some other platform like videojs, jwplayer & youtube starts automatically playing videos that are in the background.

so, i think its something has to do with bideo.js code, so- kindly do let know how i can auto-play the video in the background with sound.

thanks.

License

Is there a license for bideo.js?

Is YouTube and Vimeo supported then?

With reference to #1, it says that most features there have been added.

But I briefly skimmed through the source code and couldn't find any reference to YouTube and Vimeo.

So are these supported?

playing video with random pause interval and reverse playback

Hiya, thanks for this awesome plugin! 💯

I was wondering. Say you have a video of approximately 2 seconds. You want to wait before playing it, lets say 5 seconds. then play it, wait at last frame for 3 seconds, play it in reverse, then wait again a few seconds. Random intervals would be a bonus.

How would i go about that? :)

doesn't appear to be working at all

using this code—

import 'rishabhp/bideo.js'

export function videoHeader () {
  const bgvid = new Bideo()
  bgvid.init({
    videoEl: document.querySelector('#bgvid'),
    container: document.querySelector('#custom-header'),
    resize: true,
    autoplay: true,
    isMobile: window.matchMedia('(max-width: 768px)').matches,
    src: [
      {
        src: '/video/video_header.mp4',
        type: 'video/mp4'
      }
    ]
  })
}

and this css

#custom-header {
  height: 100vh;
  width: 100vw;
}

—the only thing that happens is a source element gets inserted into the video element. the video doesn't load. it doesn't stretch the video element to fit the container. no new styles are applied to the video element or container. if i put the src directly in the video tag, the video loads but doesn't stretch to fit the container.

Out of the box issue

Issue when copying your bideo.js file:
Uncaught TypeError: Cannot read property 'addEventListener' of null

A simple idiot-proof tutorial for stupid people like me ?

Hi Rishabh,

Your library looks great. I also read your article on http://codetheory.in/html5-fullscreen-background-video/

My problem is I am an stupid person. I love to do things as simply / quickly as possible. For the last 30 mins I couldn't figure out how to use your library. Should I caopy-paste the code on your website ?

Just reply to me here in plain, simple english (english is not my first language) and I will write a tutorial / how-to about it. You MAY use if in your readme if you like it. Very Simple.

Feature Additions/Enhancements

  • Responsive web (mobile) support.
  • Support for play/pause buttons (for iOS, etc.).
  • Support for Youtube iframe embeds. (Swapping video with YouTube's iframe tag should be good enough. List of options.)

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.