Giter Club home page Giter Club logo

Comments (5)

chou666 avatar chou666 commented on May 27, 2024 2

Many thanks to @Mjavala for yout tips !

This solve my problem:

In data section:

            vimeoOptions: {
                responsive: true,
                width: "1000",
                height: "100%",
            },

In template:

            <vue-vimeo-player
                :video-id="video"
                :video-url="video"
                :height="'100%'"
                :width="'100%'"
                :client-height="'100%'"
                :client-width="'100%'"
                :options="vimeoOptions"
            />

from vue-vimeo-player.

HarwinBorger avatar HarwinBorger commented on May 27, 2024

Great component, compliments for that.

I have the same issue as @chou666 mentioned, i would like to have no width/height set.

And or those options would be nice:
player-width="100%" player-height="100%"
and / or
player-width="false" player-height="false"
player-width="" player-height=""

from vue-vimeo-player.

dobromir-hristov avatar dobromir-hristov commented on May 27, 2024

If not provided, the player will fallback to the max widht and height that the Video Supports, is that what you want?

from vue-vimeo-player.

dobromir-hristov avatar dobromir-hristov commented on May 27, 2024

If you want a responsive player, you would have to do some CSS magic in any case, a bit of position absolute here and there and aspect ratios

from vue-vimeo-player.

Rhovian avatar Rhovian commented on May 27, 2024

setting the responsive option to true helped me solve this
:options="{responsive: true}"

from vue-vimeo-player.

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.