GithubHelp home page GithubHelp logo

playlistcarousel's Issues

loadVideoById endSeconds 문제

seekTo(0)로 동영상 재생 위치를 바꿔도 loadVideoById endSeconds를 넘어가면 동영상이 자동 중지되는 문제

어떻게 해결해야하는지 몰라서 그냥 seekTo(endSeconds + 1)로 일단 해결함

동영상이 endSeconds를 넘어가면 endSeconds + 1에서 일시정지 되고 거기서 다시 플레이할 수 있도록

그리고 다시 동영상을 처음부터 되돌리면 endSeconds를 넘어가도 동영상이 자동 중지 되지 않는다

그러나 임시방편 해결책 같음

cueVideoById에서 endSeconds 값을 지정한 다음 seekTo()를 호출하면 endSeconds 값이 더 이상 영향을 미치지 않습니다. 공식 문서 보고 이렇게 적용해보려고 했으나 역시나 넘어가버리면 자동 중지됨
https://developers.google.com/youtube/iframe_api_reference?hl=ko#setPlaybackQuality

어떻게 해결해야 하냐..? ㅋ

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.