GithubHelp home page GithubHelp logo

Poster does not work about plyrue HOT 12 CLOSED

ItsNash0 avatar ItsNash0 commented on July 18, 2024 1
Poster does not work

from plyrue.

Comments (12)

zcuric avatar zcuric commented on July 18, 2024 1

@linking2014 I'll check today and realease a fix.

from plyrue.

linking2014 avatar linking2014 commented on July 18, 2024 1

@zcuric here's a demo
https://codepen.io/linking2014/pen/RwGKXRR

from plyrue.

zcuric avatar zcuric commented on July 18, 2024 1

@linking2014 This is not a bug, it's technically a new feature, so it's available now in v.2.3.0, please check :)

from plyrue.

linking2014 avatar linking2014 commented on July 18, 2024 1

@zcuric it's ok now, thanks

from plyrue.

zcuric avatar zcuric commented on July 18, 2024

@ItsNash0 can you provide code samples of how you use it?

from plyrue.

ItsNash0 avatar ItsNash0 commented on July 18, 2024

<plyrue ref="plyrue" :poster="video.image" type="video" class="max-w-full" :options="options" :sources="sources" />
it seems the plyrue component has the prop. but not the plyrueVideo
thats it really, does it work on your end?
@zcuric

from plyrue.

linking2014 avatar linking2014 commented on July 18, 2024

<plyrue ref="plyrue" :poster="video.image" type="video" class="max-w-full" :options="options" :sources="sources" />
it seems the plyrue component has the prop. but not the plyrueVideo
thats it really, does it work on your end?
@zcuric

i have same issue, resloved by update the poster manually each time my player component init

if (this.$refs.plyr.player) {
    this.$refs.plyr.player.poster = this.poster
}

from plyrue.

zcuric avatar zcuric commented on July 18, 2024

What version are u using @linking2014 and @ItsNash0?
Poster is set here and it applies in all cases: https://github.com/zcuric/plyrue/blob/master/src/components/Plyrue.vue#L39

from plyrue.

linking2014 avatar linking2014 commented on July 18, 2024

What version are u using @linking2014 and @ItsNash0?
Poster is set here and it applies in all cases: https://github.com/zcuric/plyrue/blob/master/src/components/Plyrue.vue#L39

i use the latest version, in fact the problem is the poster did not change when you change the src like :poster="src" dynamically

from plyrue.

ItsNash0 avatar ItsNash0 commented on July 18, 2024

right, im using it like that, dynamically

from plyrue.

zcuric avatar zcuric commented on July 18, 2024

@ItsNash0 can you give an example of using it dynamically? Are you changing posters dynamically or the sources?

from plyrue.

zcuric avatar zcuric commented on July 18, 2024

@ItsNash0 Does it work for you?

from plyrue.

Related Issues (8)

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.